Skip to content

Not able to pass boolean values in chrome capabilites #133

@cvarshn-cloud

Description

@cvarshn-cloud

@wakaleo @jeffjensen @mojavelinux @vikramvi @mthmulders
I am running tests on selenoid using serenity and not able to pass below capabilities:

  1. enableVNC=true;
  2. enableVideo=true;

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:

  1. serenity.driver.capabilities="enableVNC:true; enableVideo:true"
  2. chrome.capabilities.enableVNC=true
    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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions