Switch selenium form 2.53.1 to 3.x

174 Views Asked by At

My project uses selenium 2.53.1 and I want to upgrade to 3.x.

I update de dependencies on my build.gradle file, but now, I can't import some libraries needed for the project:

  • DesiredCapabilities
  • Actions

Where are them now? Do I need extra dependencies?

My current dependencies:

compile("org.seleniumhq.selenium:selenium-java:3.4.0") compile("org.seleniumhq.selenium:selenium-server:3.4.0") compile("org.seleniumhq.selenium:selenium-support:3.4.0") compile("org.seleniumhq.selenium:selenium-api:3.4.0")

1

There are 1 best solutions below

0
On BEST ANSWER

I'm sorry, was an IDE error. There were loading two versions of selenium at the same time.