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

Unified Diff: chrome/test/chromedriver/chrome/chrome.h

Issue 1827003004: [Chromedriver] Chromedriver should handle unexpected alert automatically. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New modifications Created 4 years, 2 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/chromedriver/chrome/chrome.h
diff --git a/chrome/test/chromedriver/chrome/chrome.h b/chrome/test/chromedriver/chrome/chrome.h
index 14251c7c160e08a133dd881027beb79c8fb4d417..73251448d1ed13ee63377fba9227a69091d8d94b 100644
--- a/chrome/test/chromedriver/chrome/chrome.h
+++ b/chrome/test/chromedriver/chrome/chrome.h
@@ -53,6 +53,9 @@ class Chrome {
// Return the page load strategy for this session.
virtual std::string page_load_strategy() const = 0;
+ // Return the unexpected alert behaviour.
+ virtual std::string UnexpectedAlertBehaviour() const = 0;
+
// Quits Chrome.
virtual Status Quit() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698