Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting ClassCastException on using Actions Class #701

Open
PB-08 opened this issue Apr 28, 2021 · 0 comments
Open

Getting ClassCastException on using Actions Class #701

PB-08 opened this issue Apr 28, 2021 · 0 comments

Comments

@PB-08
Copy link

PB-08 commented Apr 28, 2021

I wrapped my ChromeDriver in RecheckDriver -
driver = new RecheckDriver(new ChromeDriver(Chrome_Options))

Getting following exeption on using Actions class -
class de.retest.web.selenium.AutocheckingWebElement cannot be cast to class org.openqa.selenium.interactions.Locatable (de.retest.web.selenium.AutocheckingWebElement and org.openqa.selenium.interactions.Locatable are in unnamed module of loader "app")

java.lang.ClassCastException: class de.retest.web.selenium.AutocheckingWebElement cannot be cast to class org.openqa.selenium.interactions.Locatable (de.retest.web.selenium.AutocheckingWebElement and org.openqa.selenium.interactions.Locatable are in unnamed module of loader "app")

at org.openqa.selenium.interactions.Actions.click(Actions.java:319)

Version -
Java : openjdk 15.0.1 2020-10-20
Selenium : 3.141.59

@PB-08 PB-08 changed the title Getting java.lang.ClassCastException Exeption on using Actions Class Getting ClassCastException Exeption on using Actions Class Apr 29, 2021
@PB-08 PB-08 changed the title Getting ClassCastException Exeption on using Actions Class Getting ClassCastException on using Actions Class Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant