Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4787)

Unified Diff: chrome/test/chromedriver/command_executor_impl.cc

Issue 12224106: [chromedriver] Implement command: switchToWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Enhance py testcase for switchToWindow. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/command_executor_impl.cc
diff --git a/chrome/test/chromedriver/command_executor_impl.cc b/chrome/test/chromedriver/command_executor_impl.cc
index e5872113b720ce6c2ad6f202ef019451d15e8801..0c52995aa7bc3a5451aca267ea0bd130de0e8d7d 100644
--- a/chrome/test/chromedriver/command_executor_impl.cc
+++ b/chrome/test/chromedriver/command_executor_impl.cc
@@ -108,6 +108,8 @@ void CommandExecutorImpl::Init() {
base::Bind(&ExecuteGetCurrentWindowHandle);
session_command_map[CommandNames::kGetWindowHandles] =
base::Bind(&ExecuteGetWindowHandles);
+ session_command_map[CommandNames::kSwitchToWindow] =
+ base::Bind(&ExecuteSwitchToWindow);
session_command_map[CommandNames::kSetTimeout] =
base::Bind(&ExecuteSetTimeout);

Powered by Google App Engine
This is Rietveld 408576698