mirror of
https://github.com/burakkaygusuz/selenium-4-grid-k8s-docker.git
synced 2021-06-27 00:03:24 +03:00
Hub Url was made as static
This commit is contained in:
@@ -18,7 +18,7 @@ public class DriverFactory {
|
||||
private static WebDriverWait wait;
|
||||
private RemoteWebDriver driver;
|
||||
|
||||
private final String HUB_URL = "http://192.168.64.4:31149";
|
||||
private static final String HUB_URL = "http://192.168.64.4:31149";
|
||||
|
||||
public RemoteWebDriver getWebDriver(DriverType driverType, DesiredCapabilities capabilities) {
|
||||
if (driver == null) {
|
||||
|
||||
Reference in New Issue
Block a user