All Questions
Tagged with selenium-chromedriverjava
277 questions
2votes
4answers
23kviews
java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property
Here is my code: package Basics; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class invokegoogle { public static void main(String[] args) { ...
9votes
7answers
30kviews
org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection Selenium ChromeDriver and Chrome v111
I tried to invoke the website using Selenium and Chrome browser v111. The browser is opening but the website is not invoking. It is working properly but after updating chrome "Version 111.0.5563....
8votes
12answers
22kviews
Mac OSX - IllegalStateException: The driver is not executable:
Im new to Mac OSX. Downloaded my Robotframework(Selenium & Java) project from git and tried to execute the code locally wherein I received the below error. Suite setup failed: ...
26votes
11answers
80kviews
Error Loading Extension Could not load extension from 'C:\..\Local\Temp\scoped_dir6312_32763\internal'. Loading of unpacked extensions is disabled
When am running my webdriver script, am getting a confirmation dialog box with below message: Error Loading Extension Could not load extension from 'C:\Users\username\AppData\Local\Temp\...
-2votes
2answers
1kviews
ChromeDriver and WebDriver for Selenium through TestNG results in 4 errors
I'm doing exactly what the website says but it results in 4 errors...
3votes
1answer
5kviews
How to mouse hover using java through selenium-webdriver and Java
While trying to automate the portal http://demo.nopcommerce.com/, am not able to select mouse hover over "Electornics" menu and select "Camera & Photo" sub menu. Used the below script for the same....
3votes
4answers
10kviews
org.openqa.selenium.remote.service.DriverService$Builder.createArgs()Lcom/google/common/collect/ImmutableList; with Selenium 3.5.3 Chrome 76
I'm writing Selenium Junit tests with IntelliJ. The tests run ok if I trigger from test directly. However, if I trigger tests from TestRunnerSuite with JunitCore, I encountered following weird error ...
66votes
8answers
93kviews
org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
Sendkeys not working. Please help me to resolve this.. WebElement username = driver.findElement(By.xpath("//*[@id='username']")); username.sendKeys("123456"); Console: Exception in thread "...
36votes
11answers
51kviews
ChromeDriver - Disable developer mode extensions pop up on Selenium WebDriver automation
I'm having the following issue: When I'm running my automation tests, I keep getting the following alert "Disable Developer Mode Extension" in Chrome. Is there a way to remove/disable this?. It is a ...
20votes
3answers
21kviews
Take full page screenshot in Chrome with Selenium
I know this was not possible before, but now with the following update: https://developers.google.com/web/updates/2017/04/devtools-release-notes#screenshots this seems to be possible using Chrome ...
8votes
9answers
56kviews
Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114
OS : Windows server Language : Java Chrome version : 116.0.5845.97 Chrome driver version : 116.0.5845.96 OUTPUT : SLF4J: No SLF4J providers were found. SLF4J: Defaulting to no-operation (NOP) logger ...
6votes
3answers
16kviews
How do I protect the ports that chromedriver use?
Normally when I run chromedriver I always get this output which I'm sure everyone gets when running chromedriver. It's not the whole output but about a specif sentence. Only local connections are ...
5votes
9answers
25kviews
java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;) with Selenium, gradle and ChromeDriver
I am trying to use Selenium api with Gradle. This is my build.gradle dependency section: dependencies { compile 'com.google.api-client:google-api-client:1.23.0' compile 'com.google.oauth-...
3votes
1answer
7kviews
WebDriverException: unknown error: Runtime.executionContextCreated has invalid 'context': while initializing Chrome browser
I'm trying to get started using selenium and have downloaded a chrome driver and put into my classpath. I'm just trying to get the title right now to see if I can get it to work. Code currently looks ...
1vote
1answer
4kviews
org.openqa.selenium.WebDriverException: chrome not reachable - when attempting to start a new session
When I run my tests on Chrome I often get a WebdriverException that Chrome is not reachable. It doesn't happen every time. Maybe once every 15 times. I am having to run everything on Windows machines ...