-
Notifications
You must be signed in to change notification settings - Fork 60
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
Not able to pass boolean values in chrome capabilites #133
Comments
Serenity already converts Strings like this to booleans before passing it into the capabilities object. What version of Serenity are you using? |
2.2.13 |
Try with 2.4.34 |
@wakaleo @jeffjensen @mojavelinux Its not working , I need to pass below to serenity.properties file ChromeOptions options = new ChromeOptions();
}}); How to pass these capabilities in serenity.properties. I am using 3.4.3 version? |
@wakaleo @jeffjensen @mojavelinux @vikramvi @mthmulders
I am running tests on selenoid using serenity and not able to pass below capabilities:
Getting below error
Caused by: org.openqa.selenium.WebDriverException: json: cannot unmarshal string into Go struct field Caps.desiredCapabilities.enableVideo of type bool (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 165 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'slave-m6xpj', ip: '10.233.94.150', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-1127.19.1.el7.x86_64', java.version: '1.8.0_242'
Driver info: driver.version: DefaultRemoteDriver
Tried below not successful:
chrome.capabilities.enableVideo=true
3.chrome.switches="--headless,--disable-plugins,--disable-extensions,--disable-infobars,--enableVNC=true,--enableVideo=true"
Can you please help me out ASAP on this?
The text was updated successfully, but these errors were encountered: