Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selenium 4 Support for remote webdriver #3201

Open
toshavyas opened this issue Jul 26, 2023 · 3 comments
Open

Selenium 4 Support for remote webdriver #3201

toshavyas opened this issue Jul 26, 2023 · 3 comments

Comments

@toshavyas
Copy link

While calling remote webdriver/saucelabs if we pass selenium 4 capabilities its giving error.

Caused by: java.io.UncheckedIOException: java.net.ConnectException: connection timed out: ondemand.us-west-1.saucelabs.com/66.85.52.224:443
at org.openqa.selenium.remote.http.netty.NettyHttpHandler.makeCall(NettyHttpHandler.java:73)
at org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42)
at org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:55)
at org.openqa.selenium.remote.http.netty.NettyHttpHandler.execute(NettyHttpHandler.java:48)
at org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42)

{
"capabilities": {
"firstMatch": [
{
"acceptInsecureCerts": true,
"browserName": "chrome",
"browserVersion": "latest",
"goog:chromeOptions": {
"args": [
"test-type",
"ignore-certificate-errors",
"--window-size=1000,800",
"--no-sandbox",
"--disable-dev-shm-usage",
"incognito",
"disable-infobars",
"disable-gpu",
"disable-default-apps",
"disable-popup-blocking",
"test-type",
"ignore-certificate-errors",
"--window-size=1000,800",
"--no-sandbox",
"--disable-dev-shm-usage",
"incognito",
"disable-infobars",
"disable-gpu",
"disable-default-apps",
"disable-popup-blocking",
"remote-allow-origins=*"
],
"extensions": [
],
"sauce:options": {
"accessKey": "",
"build": "Serenity-Saucelabs-build",
"extendedDebugging": true,
"maxDuration": 10800,
"name": "Serenity-Saucelabs-Integration",
"parent-tunnel": "",
"tags": "Serenity-Saucelabs",
"tunnel-identifier": "",
"username": ""
}
},
"platformName": "Windows 10"
}
]
}
}

@wakaleo
Copy link
Member

wakaleo commented Jul 26, 2023

Have you asked Saucelabs?

@toshavyas
Copy link
Author

toshavyas commented Jul 27, 2023 via email

@wakaleo
Copy link
Member

wakaleo commented Jul 27, 2023

I don't think it's related to the Serenity code - it looks like something to do with the way Saucelabs handles the capabilities it is sent. If you can get the equivalent code working in plain Selenium and compare the capabilities being sent that might help understand where the issue is coming from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants