How to use newer version of a library with Spring Boot How to use newer version of a library with Spring Boot selenium selenium

How to use newer version of a library with Spring Boot


I have found the answer in here.

I shall override the property using: ext['selenium.version']='3.8.1' statement.


When IntelliJ imports the dependencies, it will not remove old dependencies like this.

You would have to clean it out, then re-import the dependencies. Of course, another dependency might also have a dependency on 2.53.1 that would bring it in again.

I don't know Gradle, but maven you can do a mvn tree dependency that would list all the dependencies and further down and you can look through it to see if selenium is a dependency for another dependency too.