I have a Selenium-Java project that I want to update to Selenium 4 Alpha 6.
I have removed previous POM references to all selenium dependencies and have even hard set the desired version number.
No suitable constructor errors are thrown for this package on compilation - my new Selenium is not being used as the new functionality is not available (same site cookie support).
When I review the maven tab in intellij it shows many old source:
My project classes still open up the (decompiled) Selenium 3 classes when I find definitions.
My Maven POM changes:
Also I have removed a top level reference to selenium-api which I think is a dependency of the primary anyway...I've also tried using the systemPath attribute to force use of trhe JAR I downloaded but made no difference.
Can anyone advise how to 'force' the update?