ERROR

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

SYMPTOMS

  • Implementing selenium (headless) browser tests using ChromeDriverService.Builder()
  • Implementing selenium (headless) browser tests using FindBy annotations & PageFactory.initElements()

PRE-CONDITION

GROUP ID ARTIFACT VERSION
com.google.guava guava 21.0
org.seleniumhq.selenium selenium-java 3.2.0
org.seleniumhq.selenium selenium-server 3.2.0

FIX

Update jars

GROUP ID ARTIFACT VERSION
com.google.guava guava 23.0
org.seleniumhq.selenium selenium-java 3.6.0
org.seleniumhq.selenium selenium-server 3.6.0