-
Notifications
You must be signed in to change notification settings - Fork 125
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
org.openqa.selenium.WebDriverException: json: cannot unmarshal string into Go struct field Caps.sessionTimeout of type uint32 #134
Comments
@YogeshMahajan1903 see Breaking Changes section here: https://github.com/aerokube/selenoid/releases/tag/1.8.0 |
Yup, I had checked above issue before logging issue. Tried all formats - ""60s" or "1m" or "2m10s" or "1h"" None of it works |
@YogeshMahajan1903 in that case you have old Selenoid version which required just a number of seconds:
|
sessionTimeout = 60 this works with Selenoid -1.7.2. |
|
@YogeshMahajan1903 will check soon. |
@YogeshMahajan1903 ok, that's an issue in Firefox images. Should work with Firefox 63.0 image but will not work before. I will rebuild images during next weeks. |
It works with Firefox - 63. So I guess images need to be rebuild for older version |
@YogeshMahajan1903 yes. That's not a Selenoid code issue. It will also work with any other non-Firefox image. |
Still here :) |
@Asgoret we know. |
Observed with Centos-7, with Selenium - 3.11 & Selenoid -1.8.2
FirefoxOptions firefoxOption = new FirefoxOptions(); firefoxOption.setAcceptInsecureCerts(true); firefoxOption.setHeadless(false); firefoxOption.addArguments("-foreground"); firefoxOption.setCapability("version", version); firefoxOption.setCapability("enableVNC", true); firefoxOption.setCapability("enableVideo", true); firefoxOption.setCapability("videoName",videoName+".mp4"); firefoxOption.setCapability("logName",videoName+".log"); firefoxOption.setCapability("name",videoName); firefoxOption.setCapability("platform", Platform.LINUX); firefoxOption.setCapability("resolve_ip", false); firefoxOption.setCapability("sessionTimeout", "60s");
When launched with above configuration, Exception thrown - org.openqa.selenium.WebDriverException: json: cannot unmarshal string into Go struct field Caps.sessionTimeout of type uint32.
The text was updated successfully, but these errors were encountered: