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

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

Issue 11884058: [chromedriver] Implement commands: findChildElement, findChildElements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 eac1708cdd9097e13e73a40880e0420fc2aaac79..c14b8cf108340c85473e6b5c585f7779fa1ee03d 100644
--- a/chrome/test/chromedriver/command_executor_impl.cc
+++ b/chrome/test/chromedriver/command_executor_impl.cc
@@ -53,6 +53,10 @@ void CommandExecutorImpl::Init() {
base::Bind(&ExecuteFindElement)));
command_map_.Set("findElements", base::Bind(execute_session_command,
base::Bind(&ExecuteFindElements)));
+ command_map_.Set("findChildElement", base::Bind(execute_session_command,
+ base::Bind(&ExecuteFindChildElement)));
+ command_map_.Set("findChildElements", base::Bind(execute_session_command,
+ base::Bind(&ExecuteFindChildElements)));
command_map_.Set("setTimeout", base::Bind(execute_session_command,
base::Bind(&ExecuteSetTimeout)));
Command quit_command = base::Bind(execute_session_command,

Powered by Google App Engine
This is Rietveld 408576698