Skip to content
Advertisement

Tag: selenium-webdriver

Exception in thread “main” java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap error using Selenium Java

Code trials: Error: Error snapshot: Answer This error message… …implies that the file com/google/common/collect/ImmutableMap might be corrupted or there is some incompatibility between the version of the binaries you are using. Further you need to take care of a couple of things as follows: Instead of storing the chromedriver.exe binary right under C: try to put it within a directory

This version of ChromeDriver only supports Chrome version 99 Current browser version is 98.0.4758.102

My current chrome version : 98.0.4758.102 My current selenium version: 4.1.1 and cannot download chrome 99. My chrome 98 is updated to the last version, how do I get chrome 99 assuming it’s a beta version? Trace log : Answer Starting ChromeDriver 99.0.4844.51 Current browser version is 98.0.4758.102 Your chrome driver is for chrome version, which is not out yet.

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

Advertisement