Skip to content

Commit 3d4f902

Browse files
committed
removed the usage of WebDriverManager in favour of Selenium Manager
1 parent ee30a44 commit 3d4f902

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/com/eliasnogueira/driver/BrowserFactory.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public enum BrowserFactory {
4848
CHROME {
4949
@Override
5050
public WebDriver createLocalDriver() {
51-
WebDriverManager.chromedriver().setup();
52-
5351
return new ChromeDriver(getOptions());
5452
}
5553

@@ -76,8 +74,6 @@ public ChromeOptions getOptions() {
7674
}, FIREFOX {
7775
@Override
7876
public WebDriver createLocalDriver() {
79-
WebDriverManager.firefoxdriver().setup();
80-
8177
return new FirefoxDriver(getOptions());
8278
}
8379

@@ -101,8 +97,6 @@ public FirefoxOptions getOptions() {
10197
}, EDGE {
10298
@Override
10399
public WebDriver createLocalDriver() {
104-
WebDriverManager.edgedriver().setup();
105-
106100
return new EdgeDriver(getOptions());
107101
}
108102

0 commit comments

Comments
 (0)