Open toshavyas opened 1 year ago
Have you asked Saucelabs?
Yes we did and they asked to open a bug with Serenity.
On Wed, Jul 26, 2023 at 5:38 PM John Ferguson Smart < @.***> wrote:
Have you asked Saucelabs?
— Reply to this email directly, view it on GitHub https://github.com/serenity-bdd/serenity-core/issues/3201#issuecomment-1652531906, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC37KYO6MIVZKCHJXNWIGGLXSGE5FANCNFSM6AAAAAA2ZB345A . You are receiving this because you authored the thread.Message ID: @.***>
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.
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" } ] } }