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

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: Rebase. 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
« no previous file with comments | « chrome/test/chromedriver/chromedriver.py ('k') | chrome/test/chromedriver/commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2295182767e60652f77da523e2a2023796c587f5..463f0b10d28f5a2f19c4073f24c205aee0e53da2 100644
--- a/chrome/test/chromedriver/command_executor_impl.cc
+++ b/chrome/test/chromedriver/command_executor_impl.cc
@@ -50,9 +50,13 @@ void CommandExecutorImpl::Init() {
command_map_.Set("getTitle", base::Bind(execute_session_command,
base::Bind(&ExecuteGetTitle)));
command_map_.Set("findElement", base::Bind(execute_session_command,
- base::Bind(&ExecuteFindElement)));
+ base::Bind(&ExecuteFindElement, 50)));
command_map_.Set("findElements", base::Bind(execute_session_command,
- base::Bind(&ExecuteFindElements)));
+ base::Bind(&ExecuteFindElements, 50)));
+ command_map_.Set("findChildElement", base::Bind(execute_session_command,
+ base::Bind(&ExecuteFindChildElement, 50)));
+ command_map_.Set("findChildElements", base::Bind(execute_session_command,
+ base::Bind(&ExecuteFindChildElements, 50)));
command_map_.Set("setTimeout", base::Bind(execute_session_command,
base::Bind(&ExecuteSetTimeout)));
command_map_.Set("getCurrentUrl", base::Bind(execute_session_command,
« no previous file with comments | « chrome/test/chromedriver/chromedriver.py ('k') | chrome/test/chromedriver/commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698