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

Unified Diff: chrome/test/webdriver/commands/find_element_commands.cc

Issue 6723004: ChromeDriver should be able to focus on a frame using its frame element, (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 9 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/commands/find_element_commands.cc
===================================================================
--- chrome/test/webdriver/commands/find_element_commands.cc (revision 79141)
+++ chrome/test/webdriver/commands/find_element_commands.cc (working copy)
@@ -37,6 +37,8 @@
// TODO(jmikhail): The findElement(s) atom should handle this conversion.
if (locator == "class name") {
locator = LocatorType::kClassName;
+ } else if (locator == "css selector") {
+ locator = LocatorType::kCss;
} else if (locator == "link text") {
locator = LocatorType::kLinkText;
} else if (locator == "partial link text") {

Powered by Google App Engine
This is Rietveld 408576698