From 740008ad387f08e8c251ee963c7ca1a49823861e Mon Sep 17 00:00:00 2001 From: eliasnogueira Date: Sat, 27 Jan 2024 15:01:17 +0100 Subject: [PATCH 1/2] removal of webdrivermanager --- pom.xml | 25 +------------------ .../eliasnogueira/driver/BrowserFactory.java | 2 -- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/pom.xml b/pom.xml index b1b35f3..40fd31c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.eliasnogueira selenium-java-lean-test-architecture - 3.3.9 + 3.3.10 scm:git@github.com:eliasnogueira/selenium-java-lean-test-architecture.git @@ -27,7 +27,6 @@ 3.25.1 2.1.0 2.22.1 - 5.6.3 1.0.12 2.25.0 2.12.0 @@ -37,9 +36,6 @@ 1.19.4 - - 2.16.1 - local @@ -104,18 +100,6 @@ ${owner.version} - - io.github.bonigarcia - webdrivermanager - ${webdrivermanager.version} - - - com.fasterxml.jackson.core - jackson-databind - - - - io.qameta.allure allure-testng @@ -146,13 +130,6 @@ ${testcontainers.selenium.version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson-databind.version} - - diff --git a/src/main/java/com/eliasnogueira/driver/BrowserFactory.java b/src/main/java/com/eliasnogueira/driver/BrowserFactory.java index 35816b3..dc15f4f 100644 --- a/src/main/java/com/eliasnogueira/driver/BrowserFactory.java +++ b/src/main/java/com/eliasnogueira/driver/BrowserFactory.java @@ -119,8 +119,6 @@ public EdgeOptions getOptions() { }, SAFARI { @Override public WebDriver createLocalDriver() { - WebDriverManager.safaridriver().setup(); - return new SafariDriver(getOptions()); } From 1dbf635e0548cff8747ea04e5e45f6e2a461a83e Mon Sep 17 00:00:00 2001 From: eliasnogueira Date: Sat, 27 Jan 2024 15:01:47 +0100 Subject: [PATCH 2/2] removal of webdrivermanager --- src/main/java/com/eliasnogueira/driver/BrowserFactory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/eliasnogueira/driver/BrowserFactory.java b/src/main/java/com/eliasnogueira/driver/BrowserFactory.java index dc15f4f..3bb5dd4 100644 --- a/src/main/java/com/eliasnogueira/driver/BrowserFactory.java +++ b/src/main/java/com/eliasnogueira/driver/BrowserFactory.java @@ -25,7 +25,6 @@ package com.eliasnogueira.driver; import com.eliasnogueira.exceptions.HeadlessNotSupportedException; -import io.github.bonigarcia.wdm.WebDriverManager; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOptions;