How to prevent maven from upgrading libraries of custom imported library?
I am having 2 projects, let’s say project API and project Consumer. The API project is meant to be used as a library that I can import in project Consumer as a maven dependency. Project API has the following pom.xml
Edge WebDriver can’t create a session
I’m writing simple test cases for automatization of testing web app. Installed Maven in my VS Code, I guess made everything correct (since mvn -version returns Apache Maven 3.8.7…). Created project and tried to write some sort of setUp for WebDriver. The thing is that it calls error and I can’t understand why.
error Exception in thread “main” java.lang.IllegalAccessError: class org.openqa.selenium.remote.http.RetryRequest in my selenium eclipse
So I started my selenium and i found this error and i can’t fix it