151 questions
2
votes
3
answers
219
views
Selenium ChromeDriver not working in JavaFX application packaged as an exe
I have a JavaFX application that uses Selenium to scrape some websites. Everything works great when I run the application through IntelliJ. However, I am packaging the final product into an exe file ...
0
votes
1
answer
672
views
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500 using WebDriverManager for chromedriver 145.0.7632.26 [closed]
I'm trying to run chromedriver and I am using Boni Garcia's WebDriverManager (v6.3.3 - latest version)for version control.
The app is here: https://github.com/Vanilla2016/accountBatch
I am running the ...
0
votes
1
answer
152
views
EdgeDriver Opens Brower but fails to open URL
I am trying to automate the Edge browser with Selenium. Below are the things I have already checked, but when I run the code the browser opens and doesn't navigate to the URL.
No firewall is blocking....
0
votes
1
answer
125
views
Using Selenium-Java and WebDriverManager to do browser recording on multiple tabs
We are using selenium-java v4.23.1 and WedDriverManager v5.9.2 and we are experimenting on browser recording for troubleshooting failed tests.
We already put tab recording to work following the ...
0
votes
0
answers
559
views
Getting io.github.bonigarcia.wdm.config.WebDriverManagerException: java.net.SocketException: Connection reset while running automated tests Jenkins
17:32:12 io.github.bonigarcia.wdm.config.WebDriverManagerException: java.net.SocketException: Connection reset
17:32:12 at io.github.bonigarcia.wdm.WebDriverManager.handleException(WebDriverManager....
0
votes
1
answer
83
views
Selenium-Jupiter - Using only local Browsers/Drivers
I'd like to use the selenium-jupiter JUnit5 extension for CI/CD runs:
selenium-jupiter
Unfortunately the used WebDriverManager is dynamically fetching browsers/drivers from the internet.
To allow for ...
1
vote
2
answers
7k
views
Selenium-Could not start a new session. Response code 500. Message: session not created
I am receiving below exception when running my testng.xml
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version ...
0
votes
1
answer
2k
views
There was an error managing chromedriver public (For input string: "public")
`Hello,
Using webDriverManager, when my chrome browser is updated I have the next ERROR :
`874 [main] ERROR io.github.bonigarcia.wdm.WebDriverManager – There was an error managing chromedriver ...
0
votes
1
answer
322
views
Selenium IntelliJ Maven Chrome SessionNotCreated Could not start a new session. Possible causes are invalid address of the remote server
My Chrome Browser on the test machine has been updated to 122.0.6261.70 but has stopped my tests working with the error,
SessionNotCreated Could not start a new session. Possible causes are
invalid ...
1
vote
3
answers
1k
views
Using multiple Chrome versions with webdrivermanager fails
My issue: chromedriver and chrome versions do not match in my test runs
I use a custom docker image for my test runs (RHEL Linux). In this I install the latest version of Google Chrome rpm, and ...
1
vote
2
answers
880
views
Chrome web driver and selenium tests version problem
In my project where I write web automation tests using Selenium web driver, I am experiencing version problems after every new Chrome update. Chrome updates happen very frequently and I get this error ...
0
votes
2
answers
112
views
WebDriverManager avoidShutdownHook() Still Quitting Chromedriver
I'm trying to implement WebDriverManager to my integration testing. When I'm trying to debug tests, I don't want the driver to quit immediately after failing so I can interact with the webpage and ...
0
votes
1
answer
552
views
Compilation failure cannot access io.github.bonigarcia.wdm.WebDriverManager [ERROR] bad class webdrivermanager\5.4.1\
Hi All anyone could help me? I faced an issue when Itried running using Maven command line mvn test',
based on issue report , the issue due to webdriver dependency 5.4.1 version.
Java that I used &...
0
votes
1
answer
133
views
Does browserindocker() or watch() support recording of browser in docker execution in headless mode?
I'm trying to video record the browser activities in container execution. Does browserindocker.enableRecording() or watch() apis in Boni gracia webdriver manager 5.6.2 support it?
I have been trying ...
0
votes
1
answer
188
views
Have WebDriverManager use pre-downloaded chrome-driver
For linux boxes that are not able to download chrome-driver to local, how can I specify a local version to be used with WebDriverManager ? I see that targetPath() is not available to define where the ...
0
votes
1
answer
488
views
ChromeDriver only supports Chrome version 114 not 160
I've got the following error when my Chrome browser got updated to version 160:
"org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports ...
0
votes
1
answer
508
views
Getting a mismatch with the chrome version for selenium project
My code was working earlier but when I used gradle command line to run the project, I got this error:
enter image description here
I'm using bonigarcia library so the incompatibility issue with the ...
1
vote
0
answers
155
views
webdrivermanager :java.lang.NoSuchMethodError:'void org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.setDefaultConnectionConfig
While initializing chrome browser using webdrivermanager using mockito framework, java 17 and chromebrowser version 118 but getting error as
"java.lang.NoSuchMethodError: 'void org.apache.hc....
1
vote
2
answers
159
views
Web application cannot be launched with Firefox
I have given following code to launch the application with Firefox
System.setProperty("webdriver.gecko.driver",
"C:/Work/Assessment/Automation/Test_2/src/main/resources/geckodriver.exe&...
1
vote
1
answer
3k
views
NoSuchMethodError: 'java.io.OutputStream org.openqa.selenium.chrome.ChromeDriverService$Builder.getLogOutput(java.lang.String)'
java.lang.NoSuchMethodError: 'java.io.OutputStream org.openqa.selenium.chrome.ChromeDriverService$Builder.getLogOutput(java.lang.String)'
at org.openqa.selenium.chrome.ChromeDriverService$Builder....
1
vote
1
answer
136
views
WebDriverManager - Problem with inDocker function
I am using WebDriverManager for over an year, but currently we moved our CI/CD to different tool. There is additional firewall that cut of external libraries. I tried
WebDriverManager.firefoxdriver()....
1
vote
1
answer
4k
views
Selenium Manager Vs WebDriverMAnager - From selenium 4.6 do we really need WebDriverManager
I am using WebDriverManager - for Chrome driver - recently after chrome update to 116 was facing issues with WebdriverManager - not able to get ChromeDriver session - Removed WebdriverManager from POM ...
11
votes
8
answers
49k
views
WebDriverManager setup failing to download chromedriver 116
Here is the code to replicate the issue. This was working fine till chromedriver 114 but it broke as soon as chrome browser got upgraded to 116.
import org.openqa.selenium.WebDriver;
import org.openqa....
1
vote
1
answer
4k
views
ERROR io.github.bonigarcia.wdm.online.HttpClient - Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116
I am getting the bellow error when trying to run automation tests, after Chrome was updated from v114 to v116
ERROR io.github.bonigarcia.wdm.online.HttpClient - Error HTTP 404 executing https://...
0
votes
1
answer
144
views
getDownloadedDriverVersion() and getDownloadedDriverPath() is returning null for firefox
Even after using latest WDM version, i am getting null for the below code
OS: Windows 11, Browser: firefox.
WDM version used.
// https://mvnrepository.com/artifact/io.github.bonigarcia/...
0
votes
0
answers
314
views
WebDriverManager cannot be resolved
Created Maven project in Eclipse IDE. I added this following dependency. I am getting WebDriverManager unable to resolve error. Can please help in resolving this issue.
<dependency>
<...
0
votes
0
answers
608
views
Unable to run example of WebDriverManager 5 browsers in Docker containers feature
I've been trying to run this for a couple of hours, but nothing seemed to do the trick.
I have Docker Desktop and the container seem to start up on script execution, but nothing happens for 30 seconds,...
0
votes
0
answers
474
views
Getting WebManager Exception: HttpHostConnectException while using Webdriver manager
io.github.bonigarcia.wdm.config.WebDriverManagerException: io.github.bonigarcia.wdm.config.WebDriverManagerException: org.apache.hc.client5.http.HttpHostConnectException: Connect to https://...
0
votes
1
answer
2k
views
io.github.bonigarcia.wdm.config.WebDriverManagerException: Error HTTP 403 executing https://msedgedriver.azureedge.net/?restype=container&comp=list
I am running my Selenium automation code in Edge via Jenkins and getting the below error :
Caused by: io.github.bonigarcia.wdm.config.WebDriverManagerException: io.github.bonigarcia.wdm.config....
0
votes
2
answers
4k
views
Error: java: cannot access io.github.bonigarcia.wdm.WebDriverManager bad class file
when I run the below simple @Test selenium code with WebDriver Manager setup, I am facing the following error
"java: cannot access io.github.bonigarcia.wdm.WebDriverManager bad class file class ...
0
votes
1
answer
301
views
Can't connect with existing Chrome Session in Selenium Java
Please note that I have tried all the explanations available (mostly) and still not working.
The command I'm using to launch the browser session is as follows:
chrome --remote-debugging-port=9222 --...
0
votes
2
answers
391
views
Can run my tests in recapitated mode but not in headless
I can run any of my tests in Chrome recapitated (headfull) mode but when I try to run them in headless mode, I get the following error.
[main] INFO io.github.bonigarcia.wdm.WebDriverManager - Using ...
1
vote
1
answer
842
views
Managing different versions of Browser (Chrome for example) while using Selenium 4.9.1 in C#
We are using Selenium with C# for our GUI Tests. Currently we are using WebdriverManager to handle diffrerent versions of Chrome auotmatically. It works fine so far !
I recently tried to update ...
1
vote
0
answers
544
views
Selenium Drivers unable to build in GitHub Actions
I am currently trying to get Selenium tests to be able to run using Gradle with GitHub actions. I am trying to run the job on a local server to get past two-factor auth. The tests are able to run ...
0
votes
1
answer
346
views
Not created chromdriver session unknown error: DevToolsActivePort file doesn't exist
Google Chrome v.110.0.5481.178
Selenide 6.12.0
webdrivermanager 5.3.2
Window 10
Java 19.2
When execute
WebDriverManager.chromedriver().setup();
Selenide.open("https://www.google.com");
I ...
0
votes
1
answer
352
views
Running Selenium-java automation within gitpod.io
New to SO & test automation & selenium. I got introduced to gitpod while attempting https://www.lambdatest.com/certifications/.
I'm stuck trying to run the below simple code snippet in side ...
0
votes
1
answer
481
views
org.openqa.selenium.SessionNotCreatedException: Could not start a new session using Maven and Java17
I am facing the error:
org.openqa.selenium.SessionNotCreatedException: Could not start a new session
Full error stacktrace:
[main] INFO io.github.bonigarcia.wdm.WebDriverManager - Exporting webdriver....
2
votes
1
answer
478
views
.dockerVolume() of WebdriverManager causes (Connection reset) error on Linux-VM
I run my tests in docker by using webdrivermanager. I need to upload some files into the running docker. So, I will be able to use those files in my tests. I used .dockerVolume() like:
...
1
vote
1
answer
421
views
How to use .dockerVolumes of WebDriverManager?
I run my tests in docker by using webdrivermanager. I need to upload some files into the running docker. So, I will be able to use those files in my tests.
I initalised my tests with the code block ...
0
votes
1
answer
315
views
NoSuchMethodError exception on line "WebDriverManager.chromedriver().setup();
I am receiving this error:
java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.io.IOUtils.toString(java.io.InputStream, java.nio.charset.Charset)'** on line "WebDriverManager....
1
vote
1
answer
2k
views
How does Serenity choose what Chromedriver to use?
I recently cloned the latest version of serenity-cucumber-starter from https://github.com/serenity-bdd/serenity-cucumber-starter. I took the action-classes branch (as I want to use that as a starting ...
2
votes
0
answers
610
views
Can't run tests with WebDriverManager from a container. Connection refused
We are trying to run tests using WebDriverManager from inside our container.
The execution fails with the following
There was an error creating WebDriver object for Firefox
io.github.bonigarcia.wdm....
0
votes
0
answers
2k
views
io.github.bonigarcia.wdm.online.httpclient- Error HTTP 403 executing
While I am replacing traditional way to initiate browser instance with WebDriverManager library, getting this error- io.github.bonigarcia.wdm.online.httpclient- Error HTTP 403 executing
imported ...
2
votes
1
answer
857
views
Why does browser closes automatically when latest version of WebDriverManager (5 onward) is used, is its new feature?
I recently created a new Selenium Maven project using the latest version(5.2.1) of WebDriverManager but I found that without using driver.quit() or driver.close() method, the browser closed ...
0
votes
1
answer
3k
views
Latest webdriver manager not working with current framework code
Hello I have upgraded Webdriver manager from 4.3.1 to 5.2.1 and then my code isn’t working.
This is the code :
WebDriverManager.chromedriver().config().setChromeDriverVersion(driverVersion);
...
0
votes
4
answers
4k
views
Cannot invoke "org.openqa.selenium.WebDriver.get(String)" because "driver" is null
I'm having a few troubles working with Selenium and the WebDriverManager. So the WebDriverManager documentations says that you're able to create a WebDriver with their API as descirbed here. ...
1
vote
1
answer
2k
views
Selenium WebDriverManager - Exception when running on Linux Server
I am new to Selenium and having some issues.
I am using the WebDriverManager in connection with Selenium. This is my code:
WebDriverManager.chromedriver().setup();
When I run the code on my local ...
0
votes
1
answer
553
views
How to use chrome profile when using browserInDocker with WebDriverManager?
I'm using webdrivermanager with browserInDocker() for my test automation framework. So far it works great. But now I have trouble trying to use a chrome profile.
Usually, when I use selenium webdriver,...
1
vote
1
answer
2k
views
How Can I set chrome browser to automatically download a pdf using QAF and WebDriverManager
Using a datasheet, I usually pass a browser name into a class I created to select which browser I want to run my tests from. Recently, I've been working on an app in which I need to download a PDF and ...
0
votes
1
answer
2k
views
HTTP request to HTTPS server exception webdrivermanager-java docker Jenkins
I'm trying to setup Bonigarcia webdrivermanager java with a chrome browser in a docker container on a jenkins CI server. Webdrivermanager is unable to pull the docker image from Docker Hub. I have ...