0

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: enter image description here

My project classes still open up the (decompiled) Selenium 3 classes when I find definitions.

My Maven POM changes: enter image description here 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?

SystemsInCode
  • 629
  • 7
  • 19

1 Answers1

0

Selenium 4 is alpha version they did not release valid selenium 4 there are issues in the alpha version so you need wait for the original release from selenium Hq

Justin Lambert
  • 940
  • 1
  • 7
  • 13