Skip to content
Advertisement

Tag: google-chrome

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.

My plugin in jmeter throws java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.setBinary

I have plugin in JMeter, which throws java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.setBinary when I want to run plugin. Im pretty sure, that ChromeOptions.set binary method is on my classpath, maybe some library discrepancy. My build.xml : My code: Can someone give me a point how to solve this issue? Thank you Answer Your “plugin” depends on selenium-java 3.5.3, you need to make sure

My Chrome version is Version 84.0.4147.105 but available ChromeDriver version is Version 84.0.4147.30 causing an error to launch chrome using Selenium

My chrome version is Version 84.0.4147.105 but available chrome version is Version 84.0.4147.30 its causing an error to launch chrome through selenium what should i do apart from downgrading the chrome version . Answer The latest stable ChromeDriver is ChromeDriver 84.0.4147.30. This version of ChromeDriver is well tested for all the minor versions of google-chrome Version 84.x.y.z. Conclusion Irespective of

How to hide the warning “This type of file can harm your computer” while downloading .xml file using Chrome Chromedriver 79 with Selenium Java

Despite setting safebrowsing.enabled to true / false, the warning …This type of file can harm your computer… is still being displayed in browser. How to hide this information? Answer To enable downloading of file using Chrome/ChromeDriver hiding the warning This type of file can harm your computer you need to: Add the preferences: download.default_directory download.prompt_for_download download.extensions_to_open safebrowsing.enabled As well as

disable-infobars argument unable to hide the infobar with the message “Chrome is being controlled by automated test software” with ChromeDriver v2.36

I just updated ChromeDriver to newest version – 2.36. In previous versions I’ve set: and the “Chrome is being controlled by automated test software” warning bar wasn’t displayed. With the same option set, I’m keep seeing it. Do you know how to disable this from appearing in the newest ChromeDriver? Thanks in advance Answer New version of ChromeDriver has been

cannot find Chrome binary error on Jenkins using maven and WebDriverManager

I’m trying to run my test (Selenium+junit+cucumber+Maven) on Jenkins. In my definition class I’m not pointing to Chrome binary but rather use WebDriverManager: @Given(“^I navigate to page$”) It works fine on my machine (Win), but when I’m trying to execute this on Jenkins (Ubuntu box), I get error: org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 4.4.0-1047-aws

Advertisement