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 e7c69ef
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: java_test_example/src/test/java/java_example/test.java
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
// NOTE: replace USERNAME:ACCESS_KEY@YOUR_SUBDOMAIN and VIDEO_URL with your credentials found in the Gridlastic dashboard
1
+
// NOTE: replace USERNAME:ACCESS_KEY@HUB_SUBDOMAIN and VIDEO_URL with your credentials found in the Gridlastic dashboard
2
2
// ALSO SEE https://github.com/Gridlastic/demo1 FOR JAVA TESTNG EXAMPLES WITH PARALLEL TEST EXECUTIONS
3
-
// FOR SELENIUM VERSION 3.53+, FIREFOX VERSIONS 55+ REQUIRES THE BINARY LOCATION ON THE GRID NODE TO BE SPECIFIED.
3
+
// FOR SELENIUM VERSION 3.53 - 3.9.1, FIREFOX VERSIONS 55+ REQUIRES THE BINARY LOCATION ON THE GRID NODE TO BE SPECIFIED.
4
4
5
5
packagejava_example;
6
6
@@ -72,12 +72,11 @@ public void beforeMethod() throws Exception {
72
72
//Chrome specifics
73
73
if (browser_name.equalsIgnoreCase("chrome")){
74
74
ChromeOptionsoptions = newChromeOptions();
75
-
options.addArguments("disable-infobars"); // starting from Chrome 57 the info bar displays with "Chrome is being controlled by automated test software.". This flag has been disabled by Google from Chrome version 75.
76
-
75
+
77
76
// On Linux start-maximized does not expand browser window to max screen size. Always set a window size.
options.addArguments(Arrays.asList("--window-size=1840,1080")); // starting with Chrome version 83, use width of 1840 instead of 1920 to capture the entire webpage on video recording.
0 commit comments