Capabilities
You can use the capabilities below to customize your browser requests.
browserName
String Mandatory
Browser name to request as defined in Browsers catalog
browserVersion
String
Specific browser version to use as defined in Browsers catalog. If not set, the default version will be used.
selenoid:options
Object
Capabilities extension which allows you to request additional properties:
name
String
Test/TestSuite name - this value is displayed in the UI on the Webdriver sessions list page. Doesn't have any special meaning - for informational purposes only.
env
Array of Strings
Additional environment variables to be injected into browser containers/pods, merged with browser catalog's envs with higher precedence:
"env": [
"MY_ENV_VAR1=value1",
"MY_ENV_VAR2=value2"
]
flavor
String
Browser image flavor to use.
screenResolution
String
Screen resolution to set for X Server. Value format is WIDTHxHEIGHTxBPP
:
"screenResolution": "1920x1080x24"
enableVNC
Boolean
When set to true
it's possible to connect to a Webdriver session using VNC client (or directly from UI).
hostsEntries
Array of Strings
Additional host entries to add to /etc/hosts
inside browser pods/containers:
"hostsEntries": [
"host1:1.1.1.1",
"host2:host-gateway"
]
A special host-gateway
value can be used to create a host entry for the Docker host (works with Docker backend only).
labels
Map String → String
Additional labels to set on browser pods/containers, merged with browser catalog's labels with higher precedence:
"labels": {
"label-1": "value1",
"label-2": "value2"
}
applicationContainers
Array of Strings, applies to Docker backend only.
Browser containers' links:
"applicationContainers": [
"cont1:alias1",
"cont2:alias2"
]
additionalNetworks
Array of Strings, applies to Docker backend only.
Additional Docker networks for browser containers to connect to:
"additionalNetworks": [
"net1",
"net2"
]