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

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

Issue 6694007: Small test and ChromeDriver fixes to enable additional tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Dennis' comments 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
« no previous file with comments | « chrome/test/webdriver/run_webdriver_tests.py ('k') | chrome/test/webdriver/session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/session.h
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
index 79b0b54ab9f2e7676dee7e47ccec608e2625843b..58994f8b44cda991cb99b7b6c3dd2cdcc36c119f 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -87,7 +87,7 @@ class Session {
ErrorCode SendKeys(const WebElementId& element, const string16& keys);
// Clicks the mouse at the given location using the given button.
- void MouseClick(const gfx::Point& click, automation::MouseButton button);
+ bool MouseClick(const gfx::Point& click, automation::MouseButton button);
bool MouseMove(const gfx::Point& location);
bool MouseDrag(const gfx::Point& start, const gfx::Point& end);
@@ -170,6 +170,11 @@ class Session {
int* border_left,
int* border_top);
+ // Gets whether the element is currently displayed.
+ ErrorCode IsElementDisplayed(const FrameId& frame_id,
+ const WebElementId& element,
+ bool* is_visible);
+
// Waits for all tabs to stop loading. Returns true on success.
bool WaitForAllTabsToStopLoading();
« no previous file with comments | « chrome/test/webdriver/run_webdriver_tests.py ('k') | chrome/test/webdriver/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698