Skip to main content

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.

KeyValuesCapability DescriptionDefault ValueAliasValue TypeExamplePossible Errors
videotrue, falseRecords 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);
TRUEBooleancapabilities.setCapability("video",false);Case Sensitive
Unable to generate video
Video is not playing in video player
visualtrue, falseRecords 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);
FALSEdebugBooleancapabilities.setCapability("visual",true);Case sensitive
Unable to generate screenshot
Screenshot is broken
networktrue, falseCaptures 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);
FALSEnetworkLogsBooleancapabilities.setCapability("network",true);Case sensitive
Network logs not supported
consoletrue, falseRecords 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);
FALSECapture browser console errorsStringJavaScript 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
tunneltrue, falseTests 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.
FALSElocalBooleancapabilities.setCapability("tunnel",true);
Find more about TestMu AI Tunnel from our documentation to test on locally hosted web applications.
Case Sensitive
Tunnel not running
tunnelNameYour desired tunnel nameProvides 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");
localNameStringcapabilities.setCapability("tunnelName","your desired tunnel name");Case Sensitive
Tunnel not running
Tunnel Name not exists
timezoneExample: UTC+07:00Sets a custom timezone for executing a test.
capabilities.setCapability("timezone","UTC+07:00");
UTC+00:00Stringcapabilities.setCapability("timezone","UTC+07:00");Case sensitive
Timezone not supported by OS
Timezone is different
verboseWebDriverLoggingtrue, falseEnables detailed Selenium logs to debug issues using insights including command execution, communication with the browser, and responses.
capabilities.setCapability("verboseWebDriverLogging", true)
FALSEBooleancapabilities.setCapability("verboseWebDriverLogging", true)
network.masktrue, falseMasks 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)
FALSEBooleancapabilities.setCapability("network.mask", true)Case Sensitive

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles