diff options
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r-- | chrome/test/ui/ui_test.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 50afc27..8568822 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -89,6 +89,13 @@ class UITest : public testing::Test { // This method doesn't return until the navigation is complete. void NavigateToURL(const GURL& url); + // Tells the browser to navigate to the given URL in the active tab + // of the first app window. + // This method doesn't return until the |number_of_navigations| navigations + // complete. + void NavigateToURLBlockUntilNavigationsComplete(const GURL& url, + int number_of_navigations); + // Returns the URL of the currently active tab. Only looks in the first // window, for backward compatibility. If there is no active tab, or some // other error, the returned URL will be empty. |