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

Unified Diff: chrome/test/chromedriver/chrome/stub_chrome.cc

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/stub_chrome.cc
diff --git a/chrome/test/chromedriver/chrome/stub_chrome.cc b/chrome/test/chromedriver/chrome/stub_chrome.cc
index cdf641f8f8fb2e40efd6a75f5c5df5813abb1c34..b0cbd6b9ccb0d484f2a36deb1251dca3de8fda6a 100644
--- a/chrome/test/chromedriver/chrome/stub_chrome.cc
+++ b/chrome/test/chromedriver/chrome/stub_chrome.cc
@@ -58,6 +58,10 @@ std::string StubChrome::page_load_strategy() const {
return std::string();
}
+std::string StubChrome::UnexpectedAlertBehaviour() const {
+ return std::string();
+}
+
Status StubChrome::Quit() {
return Status(kOk);
}

Powered by Google App Engine
This is Rietveld 408576698