LambdaTest Advanced Capabilities
Key | Values | Capability Description | Default Value | Alias | Value Type | Example | Possible Errors |
---|---|---|---|---|---|---|---|
video | true, false | By default, the video is set as true. This capability helps in video recording of the complete screen while the test gets executed. You can record maximum up to 10 minutes. In case you need to turn off the video recording, you can do so by turning off the button on our Desired Capabilities Generator. If you turn the video flag off, then for Java, it may provide the below piece of code in the 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 | Command by command screenshots will be recorded at each test step. By default the flag is set as off. Note: test execution time will increase if it’s set as ‘true’. 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 gets executed. By default, the network flag is set as false. Note: test execution time will increase if it’s set as ‘true’. capabilities.setCapability("network",true) ; | FALSE | networkLogs | Boolean | capabilities.setCapability(""network"",true); | Case sensitive Network logs not supported |
console | true, false | JavaScript logs will be recorded for the test. By default, it is set as false. Note: test execution time will increase if it’s set as ‘true’. `capabilities.setCapability("console",true)```; | FALSE | Capture browser console errors | String | Javascript logs will be recorded for the test. By default, it is set as false. capabilities.setCapability("console","disable"); | Case Sensitive No error found Not supported on this browser |
tunnel | true, false | To test your locally hosted web application with Lambda Tunnel, which establishes an SSH(Secure Shell) connection between your system and our cloud servers. By default, the tunnel flag, will be set as 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 LambdaTest Tunnel from our documentation to test on locally hosted web applications. | Case Sensitive Tunnel not running |
tunnelName | Your desire tunnel name | To provide the tunnel identifier in your test suite capability when user wants to execute the test through a particular tunnel capabilities.setCapability("tunnelName","your desire tunnel name") ; | localName | String | capabilities.setCapability("tunnelName","your desire tunnel name"); | Case Sensitive Tunnel not running Tunnel Name not exists | |
timezone | Example: UTC+07:00 | Represents the custom timezone you select 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 |