Skip to content

Files

Latest commit

 

History

History
49 lines (47 loc) · 5.06 KB

lambdatest-selenium-advance-capabilities.md

File metadata and controls

49 lines (47 loc) · 5.06 KB
id title hide_title sidebar_label description keywords url site_name slug
lambdatest-selenium-advance-capabilities
LambdaTest Advanced Capabilities
false
LambdaTest Advanced Capabilities
This document list down the advance lambdatest
lambdatest automation
selenium automation grid
selenium advance lambdatest capbilities
LambdaTest
lambdatest-selenium-advance-capabilities/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "LambdaTest", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Selenium Capabilities", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Advance Capabilities", "item": "https://www.lambdatest.com/support/docs/lambdatest-selenium-advance-capabilities/" }] }) }} ></script>
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
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)