File tree Expand file tree Collapse file tree
src/main/java/org/testingisdocumenting/webtau/browser/driver
webtau-docs/znai/release-notes/2.4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 221221 <dependency >
222222 <groupId >commons-io</groupId >
223223 <artifactId >commons-io</artifactId >
224- <version >2.7 </version >
224+ <version >2.15.1 </version >
225225 </dependency >
226226
227227 <dependency >
233233 <dependency >
234234 <groupId >org.apache.commons</groupId >
235235 <artifactId >commons-compress</artifactId >
236- <version >1.21 </version >
236+ <version >1.26.0 </version >
237237 </dependency >
238238
239239 <dependency >
293293 <dependency >
294294 <groupId >io.github.bonigarcia</groupId >
295295 <artifactId >webdrivermanager</artifactId >
296- <version >5.4.1 </version >
296+ <version >5.6.4 </version >
297297 </dependency >
298298
299299 <dependency >
Original file line number Diff line number Diff line change 2929 <version >2.4-SNAPSHOT</version >
3030
3131 <properties >
32- <selenium .version>4.8 .0</selenium .version>
32+ <selenium .version>4.18 .0</selenium .version>
3333 </properties >
3434
3535 <dependencies >
5151 <version >${project.version} </version >
5252 </dependency >
5353
54+ <dependency >
55+ <groupId >org.apache.commons</groupId >
56+ <artifactId >commons-compress</artifactId >
57+ </dependency >
58+
5459 <dependency >
5560 <groupId >io.github.bonigarcia</groupId >
5661 <artifactId >webdrivermanager</artifactId >
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ private static ChromeOptions createChromeOptions() {
104104 options .addArguments ("--remote-allow-origins=*" );
105105
106106 if (BrowserConfig .isHeadless ()) {
107- options .addArguments ("--headless" );
107+ options .addArguments ("--headless=new " );
108108 options .addArguments ("--disable-gpu" );
109109 }
110110
@@ -143,7 +143,7 @@ private static FirefoxOptions createFirefoxOptions() {
143143 FirefoxOptions options = new FirefoxOptions ();
144144
145145 if (BrowserConfig .isHeadless ()) {
146- options .setHeadless ( true );
146+ options .addArguments ( "--headless=new" );
147147 }
148148
149149 if (BrowserConfig .useFakeMedia ()) {
Original file line number Diff line number Diff line change 1+ * Add: Browser support using new headless mode
2+ * Add: Browser support upgrade Selenium to 4.18
You can’t perform that action at this time.
0 commit comments