You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 403c193
Browse filesBrowse the repository at this point in the historyBrowse files
admin
committed
Added chrome option disable-infobars to supress new chrome 57 info bar
message "Chrome is being controlled by automated test software."
Copy file name to clipboardExpand all lines: java_test_example/src/test/java/java_example/test.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,8 @@ public void beforeMethod() throws Exception {
67
67
//Chrome specifics
68
68
if (browser_name.equalsIgnoreCase("chrome")){
69
69
ChromeOptionsoptions = newChromeOptions();
70
+
options.addArguments("disable-infobars"); // starting from Chrome 57 the info bar displays with "Chrome is being controlled by automated test software."
71
+
70
72
// On Linux start-maximized does not expand browser window to max screen size. Always set a window size.
0 commit comments