0

java.lang.NoClassDefFoundError: org/openqa/selenium/interactions/internal/Locatable at com.tests.

Am getting this error when creating a driver instance for chrome or remote webdriver also.

2
  • Add required jars. Commented Oct 10, 2017 at 10:10
  • Please paste your code Commented Oct 10, 2017 at 10:31

2 Answers 2

2

You are getting this error as one of jar file is missing in your build path.

From the error I could see that the 'Locatable' class is missing.

This 'Locatable' class is available in 'org.openqa.selenium.interactions.internal' package inside 'client-combined-3.6.0.jar'


However,I would recommend you to reimport all selenium related jars to your project,to make sure you wont be getting any such dependency issues down the line.

1.You can download selenium for java client 3.6.0 from http://www.seleniumhq.org/download/ 2.Make sure you added all jars from selenium directory to your build path.
3.Rerun your project.

Cheers!

Sign up to request clarification or add additional context in comments.

Comments

2

After updating to 3.6.0 with latest jar's its working .

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.