summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/session.h')
-rw-r--r--chrome/test/webdriver/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
index d48444f..222823c 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -144,6 +144,9 @@ class Session {
ErrorCode GetElementLocationInView(
const WebElementId& element, int* x, int* y);
+ // Waits for all tabs to stop loading. Returns true on success.
+ bool WaitForAllTabsToStopLoading();
+
inline const std::string& id() const { return id_; }
inline int implicit_wait() const { return implicit_wait_; }