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

Unified Diff: chrome/test/chromedriver/chrome/chrome_desktop_impl.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/chrome_desktop_impl.cc
diff --git a/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc b/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
index 5ab7fb1efb0db91c35ad8b3972dbcb7bd3ae58ca..b555429c732da2fee70fb171b7dd394b148f44d7 100644
--- a/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
+++ b/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc
@@ -75,6 +75,7 @@ ChromeDesktopImpl::ChromeDesktopImpl(
std::unique_ptr<DevToolsClient> websocket_client,
ScopedVector<DevToolsEventListener>& devtools_event_listeners,
std::unique_ptr<PortReservation> port_reservation,
+ std::string unexpected_alert_behaviour,
std::string page_load_strategy,
base::Process process,
const base::CommandLine& command,
@@ -85,6 +86,7 @@ ChromeDesktopImpl::ChromeDesktopImpl(
std::move(websocket_client),
devtools_event_listeners,
std::move(port_reservation),
+ unexpected_alert_behaviour,
page_load_strategy),
process_(std::move(process)),
command_(command),

Powered by Google App Engine
This is Rietveld 408576698