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

Unified Diff: chrome/test/webdriver/session.h

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/session.h
===================================================================
--- chrome/test/webdriver/session.h (revision 79141)
+++ chrome/test/webdriver/session.h (working copy)
@@ -118,6 +118,10 @@
// Switches the frame used by default. |index| is the zero-based frame index.
ErrorCode SwitchToFrameWithIndex(int index);
+ // Switches to the frame identified by the given |element|. The element must
+ // be either an IFRAME or FRAME element.
+ ErrorCode SwitchToFrameWithElement(const WebElementId& element);
+
// Switches the frame used by default to the topmost frame.
void SwitchToTopFrame();

Powered by Google App Engine
This is Rietveld 408576698