Index: chrome/test/webdriver/commands/session_with_id.cc |
diff --git a/chrome/test/webdriver/commands/session_with_id.cc b/chrome/test/webdriver/commands/session_with_id.cc |
index 24cbe8c704bc223385760c50062228971d20ec7b..1c5788221657ef027640e070478f99eb815aab04 100644 |
--- a/chrome/test/webdriver/commands/session_with_id.cc |
+++ b/chrome/test/webdriver/commands/session_with_id.cc |
@@ -56,13 +56,11 @@ void SessionWithID::ExecuteGet(Response* const response) { |
// Custom non-standard session info. |
temp_value->SetWithoutPathExpansion( |
- "chrome.chromedriverVersion", Value::CreateStringValue("1.0")); |
- temp_value->SetWithoutPathExpansion( |
- "chrome.automationVersion", |
+ "chrome.chromedriverVersion", |
Value::CreateStringValue(chrome::kChromeVersion)); |
temp_value->SetWithoutPathExpansion( |
"chrome.nativeEvents", |
- Value::CreateBooleanValue(session_->use_native_events())); |
+ Value::CreateBooleanValue(session_->options().use_native_events)); |
response->SetValue(temp_value); |
} |