mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: new ChromeDriver deprecation fix
parent
2c6e770db3
commit
ca246d2d37
|
@ -47,7 +47,6 @@ public class ChromeUser extends BrowserUser {
|
|||
super(userName, timeOfWaitInSeconds);
|
||||
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
|
||||
capabilities.setAcceptInsecureCerts(true);
|
||||
capabilities.setCapability(ChromeOptions.CAPABILITY, options);
|
||||
|
||||
String REMOTE_URL = System.getProperty("REMOTE_URL_CHROME");
|
||||
if (REMOTE_URL != null) {
|
||||
|
@ -59,7 +58,7 @@ public class ChromeUser extends BrowserUser {
|
|||
}
|
||||
} else {
|
||||
log.info("Using local web driver");
|
||||
this.driver = new ChromeDriver(capabilities);
|
||||
this.driver = new ChromeDriver(options);
|
||||
}
|
||||
|
||||
this.driver.manage().timeouts().setScriptTimeout(this.timeOfWaitInSeconds, TimeUnit.SECONDS);
|
||||
|
|
Loading…
Reference in New Issue