Skip to content
Advertisement

Tag: selenium

Selenium 4 : Getting java.lang.NoSuchMethodError: org.openqa.selenium.WebElement.getDomAttribute(Ljava/lang/String;)Ljava/lang/String;

I am using selenium “4.1.2” with chrome 97. While selecting value from drop down using select class, getting exception: Below are dependencies in my project: Any help in resolving this issue is highly appreciated. Answer This error message… …is the result of dependency version conflict. Deep Dive As per @titusfortner comment in the discussion you need to crosscheck that everything

How to locate an element on this page?

I tried a lot to locate elements on this page with this link ALL I want to do is to select “1 queen bed” or “1 double large bed” and then select amount from the drop down list then press, I’ll reserve button. But I totally failed trying all of these:- using Action –> moveToElement –> perform() using JS Execution

Advertisement