From 12ac4da45cebe85f8fd43eafaed1df44a8934bab Mon Sep 17 00:00:00 2001 From: amanchopra1905 Date: Tue, 10 Jun 2025 19:42:55 +0530 Subject: [PATCH] network.mask capability --- docs/lambdatest-selenium-advance-capabilities.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/lambdatest-selenium-advance-capabilities.md b/docs/lambdatest-selenium-advance-capabilities.md index 05b56504d..5efe972a7 100644 --- a/docs/lambdatest-selenium-advance-capabilities.md +++ b/docs/lambdatest-selenium-advance-capabilities.md @@ -39,11 +39,12 @@ slug: lambdatest-selenium-advance-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:** 1. Test execution time will increase if it’s set as `true`.
            2. This capability will only take total of 150 screenshots, after that you will have to use 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 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| +| `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:** 1. Test execution time will increase if it’s set as `true`.
            2. This capability will only take total of 150 screenshots, after that you will have to use 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 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.](/docs/testing-locally-hosted-pages/) | 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 | -| `verboseWebDriverLogging` | true, false | To enable detailed Selenium logs to debug issues of your application using detailed insights including command execution, communication with the browser, and responses.
`capabilities.setCapability("verboseWebDriverLogging", true)` | FALSE | | Boolean | `capabilities.setCapability("verboseWebDriverLogging", true)` | \ No newline at end of file +| `verboseWebDriverLogging` | true, false | To enable detailed Selenium logs to debug issues of your application using detailed insights including command execution, communication with the browser, and responses.
`capabilities.setCapability("verboseWebDriverLogging", true)` | FALSE | | Boolean | `capabilities.setCapability("verboseWebDriverLogging", true)` | +| `network.mask` | true, false | This capability allows you to mask network traffic during automated testing. This capability is useful when you require 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 | \ No newline at end of file