| Index: chrome/test/webdriver/commands/create_session.cc | 
| =================================================================== | 
| --- chrome/test/webdriver/commands/create_session.cc	(revision 79882) | 
| +++ chrome/test/webdriver/commands/create_session.cc	(working copy) | 
| @@ -37,9 +37,15 @@ | 
| return; | 
| } | 
|  | 
| -  bool screenshot_on_error = false; | 
| DictionaryValue* capabilities = NULL; | 
| +  bool native_events_required = false; | 
| if (GetDictionaryParameter("desiredCapabilities", &capabilities)) { | 
| +   capabilities->GetBoolean("chrome.nativeEvents", &native_events_required); | 
| +   session->set_use_native_events(native_events_required); | 
| +  } | 
| + | 
| +  bool screenshot_on_error = false; | 
| +  if (GetDictionaryParameter("desiredCapabilities", &capabilities)) { | 
| capabilities->GetBoolean("takeScreenshotOnError", &screenshot_on_error); | 
| session->set_screenshot_on_error(screenshot_on_error); | 
| } | 
|  |