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

Unified Diff: chrome/test/webdriver/server.cc

Issue 6482014: Implement sendKeys webdriver API in ChromeDriver. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/webdriver/server.cc
===================================================================
--- chrome/test/webdriver/server.cc (revision 73909)
+++ chrome/test/webdriver/server.cc (working copy)
@@ -39,7 +39,7 @@
#include "chrome/test/webdriver/commands/speed_command.h"
#include "chrome/test/webdriver/commands/title_command.h"
#include "chrome/test/webdriver/commands/url_command.h"
-
+#include "chrome/test/webdriver/commands/value_command.h"
#include "third_party/mongoose/mongoose.h"
// Make sure we have ho zombies from CGIs.
@@ -94,11 +94,13 @@
SetCallback<FindManyElementsCommand>(ctx, "/session/*/elements");
SetCallback<FindOneElementCommand>(ctx, "/session/*/element/*/element");
SetCallback<FindManyElementsCommand>(ctx, "/session/*/elements/*/elements");
+ SetCallback<ValueCommand>(ctx, "/session/*/element/*/value");
// Since the /session/* is a wild card that would match the above URIs, this
// line MUST be the last registered URI with the server.
SetCallback<SessionWithID>(ctx, "/session/*");
}
+
} // namespace webdriver
// Configures mongoose according to the given command line flags.

Powered by Google App Engine
This is Rietveld 408576698