File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/io/cdap/e2e/utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ the License.-->
340
340
<dependency >
341
341
<groupId >org.seleniumhq.selenium</groupId >
342
342
<artifactId >selenium-chrome-driver</artifactId >
343
- <version >4.0.0-rc-1 </version >
343
+ <version >4.11.0 </version >
344
344
</dependency >
345
345
346
346
<dependency >
Original file line number Diff line number Diff line change 16
16
17
17
package io .cdap .e2e .utils ;
18
18
19
- import io .github .bonigarcia .wdm .WebDriverManager ;
20
19
import org .openqa .selenium .WebDriver ;
21
20
import org .openqa .selenium .chrome .ChromeDriver ;
21
+ import org .openqa .selenium .chrome .ChromeDriverService ;
22
22
import org .openqa .selenium .chrome .ChromeOptions ;
23
23
import org .openqa .selenium .remote .HttpCommandExecutor ;
24
24
import org .openqa .selenium .remote .SessionId ;
@@ -43,7 +43,7 @@ public class SeleniumDriver {
43
43
private static ChromeDriver chromeDriver ;
44
44
45
45
SeleniumDriver () throws IOException {
46
- WebDriverManager . chromedriver ().setup ();
46
+ ChromeDriverService service = new ChromeDriverService . Builder ().build ();
47
47
ChromeOptions chromeOptions = new ChromeOptions ();
48
48
chromeOptions .addArguments ("--no-sandbox" );
49
49
chromeOptions .addArguments ("--disable-setuid-sandbox" );
You can’t perform that action at this time.
0 commit comments