Index: chrome/test/chromedriver/session_commands.cc |
diff --git a/chrome/test/chromedriver/session_commands.cc b/chrome/test/chromedriver/session_commands.cc |
index b0ad052b4d51cf0fdb40128d450b86ff33c2fde0..864ffd7fa53459f950b43927aced3df20eac65ca 100644 |
--- a/chrome/test/chromedriver/session_commands.cc |
+++ b/chrome/test/chromedriver/session_commands.cc |
@@ -81,6 +81,8 @@ scoped_ptr<base::DictionaryValue> CreateCapabilities(Chrome* chrome) { |
caps->SetBoolean("handlesAlerts", true); |
caps->SetBoolean("databaseEnabled", false); |
caps->SetBoolean("locationContextEnabled", true); |
+ caps->SetBoolean("mobileEmulationEnabled", |
+ chrome->IsMobileEmulationEnabled()); |
caps->SetBoolean("applicationCacheEnabled", false); |
caps->SetBoolean("browserConnectionEnabled", false); |
caps->SetBoolean("cssSelectorsEnabled", true); |
@@ -99,7 +101,6 @@ scoped_ptr<base::DictionaryValue> CreateCapabilities(Chrome* chrome) { |
return caps.Pass(); |
} |
- |
Status InitSessionHelper( |
const InitSessionParams& bound_params, |
Session* session, |