Predefined Capability Sets

When you execute a Selenium test in webmate, you can use the capability wm:capabilitySet to activate a predefined set of capabilities.

These sets contain assignments for frequently used combinations of capabilities, e.g. the latest chrome version on a Windows 11 machine.

Currently, the following capability sets are available:

Capability SetCapability AssignmentsDescription
chrome-latestbrowserName: Chrome
version: 126
platform: WINDOWS_11_64
Use the most recent version of Google Chrome on Windows 11.
firefox-latestbrowserName: Firefox
version: 124
platform: WINDOWS_11_64
Use the most recent version of Firefox on Windows 11.
edge-latestbrowserName: Edge
version: 126
platform: WINDOWS_11_64
Use the most recent version of Edge on Windows 11.
safari-latestbrowserName: Safari
version: 17
platform: MACOS_MONTEREY_64
Use the most recent version of Safari on macOS Monterey.

Overwriting Predefined Capabilities

Capabilities that are specified using capability sets can be overwritten. The chrome-latest set defines a WINDOWS_11_64 target platform. Explicitly setting the platform capability overwrites this. The test will then run on a different operating system.

Example: The following capability specification

results in the following effective capabilities: