TestMu AI Advanced Capabilities
Advanced Capabilities Reference
These capabilities extend beyond Selenium defaults and give you more control over video, screenshots, network, console logs, tunnels, and other session settings.
| Key | Values | Capability Description | Default Value | Alias | Value Type | Example | Possible Errors |
|---|---|---|---|---|---|---|---|
video | true, false | Records video of the complete screen while the test runs. You can record up to 10 minutes. By default, video is set to true. To turn off video recording, use the Desired Capabilities Generator or set the flag in your capabilities class. capabilities.setCapability("video",false); | TRUE | Boolean | capabilities.setCapability("video",false); | Case Sensitive Unable to generate video Video is not playing in video player | |
visual | true, false | Records command-by-command screenshots at each test step. By default the flag is set to off. Note: 1. Test execution time increases when set to true. 2. This capability takes a total of 150 screenshots. After that, use the screenshot command. capabilities.setCapability("visual",true); | FALSE | debug | Boolean | capabilities.setCapability("visual",true); | Case sensitive Unable to generate screenshot Screenshot is broken |
network | true, false | Captures a recording for network packets while the test runs. By default, the network flag is set to false. Note: Test execution time increases when set to 'true'. capabilities.setCapability("network",true); | FALSE | networkLogs | Boolean | capabilities.setCapability("network",true); | Case sensitive Network logs not supported |
console | true, false | Records JavaScript logs for the test. By default, it is set to false. Note: Test execution time increases when set to 'true'. capabilities.setCapability("console",true); | FALSE | Capture browser console errors | String | JavaScript logs are recorded for the test. By default, it is set to false. capabilities.setCapability("console","disable"); | Case Sensitive No error found Not supported on this browser |
tunnel | true, false | Tests your locally hosted web application with Lambda Tunnel, which establishes a TCP with TLS 1.2 secure connection between your system and the cloud servers. By default, the tunnel flag is set to false. capabilities.setCapability("tunnel",true); Find more about Lambda Tunnel from our documentation to test on locally hosted web applications. | FALSE | local | Boolean | capabilities.setCapability("tunnel",true);Find more about TestMu AI Tunnel from our documentation to test on locally hosted web applications. | Case Sensitive Tunnel not running |
tunnelName | Your desired tunnel name | Provides the tunnel identifier in your test suite capability when you want to execute the test through a particular tunnel. capabilities.setCapability("tunnelName","your desired tunnel name"); | localName | String | capabilities.setCapability("tunnelName","your desired tunnel name"); | Case Sensitive Tunnel not running Tunnel Name not exists | |
timezone | Example: UTC+07:00 | Sets a custom timezone for executing a test. capabilities.setCapability("timezone","UTC+07:00"); | UTC+00:00 | String | capabilities.setCapability("timezone","UTC+07:00"); | Case sensitive Timezone not supported by OS Timezone is different | |
verboseWebDriverLogging | true, false | Enables detailed Selenium logs to debug issues using insights including command execution, communication with the browser, and responses. capabilities.setCapability("verboseWebDriverLogging", true) | FALSE | Boolean | capabilities.setCapability("verboseWebDriverLogging", true) | ||
network.mask | true, false | Masks network traffic during automated testing. Use this capability when you need secure or anonymized network interactions during test execution - for example, when dealing with sensitive data, internal environments, or compliance requirements.capabilities.setCapability("network.mask", true) | FALSE | Boolean | capabilities.setCapability("network.mask", true) | Case Sensitive |
