Skip to main content

Desired Capabilities in Selenium

Desired Capabilities in Selenium test scripts, encoded as key-value pairs, allow you, as a tester or a developer, to define specific test environment requirements. These requirements encompass operating systems, browser combinations, versions, and other parameters supported by LambdaTest's Cloud Grid to run your desired automation framework tests.

tip

You can also use LambdaTest's Automation Capabilities Generator to autogenerate your required capabilities class to run Selenium and Appium automation test scripts on the LambdaTest Selenium Grid.

You can generate the capabilities in all of the six programming languages i.e. Java, PHP, Ruby, JavaScript, C#, and Python.

The values provided for any capability are both space-insensitive and case-insensitive. This means that any value you provide as Mac OS X 10.13 or mac os x 10.13 would be correct.

Selenium Default Capabilities

Learn about the built-in capabilities supported by Selenium for launching browsers.

Selenium v3

Understand the capabolities supported in LambdaTest for Selenium version 3

Selenium v4

Understand the capabolities supported in LambdaTest for Selenium version 4

LambdaTest Advanced Capabilities

Discover additional capabilities offered by LambdaTest beyond Selenium defaults for more control over test execution.

Headless Browser Testing

Explore how to run automated tests in browsers without a graphical user interface.

Custom Chrome Profile

Configure a custom Chrome profile with specific extensions or settings for your tests.

Setting Browser Options

Define preferences like browser size, language, and cookies for your tests.

Network Throttling

Simulate different internet connection speeds to test website behavior under various network conditions.

Custom DNS Mapping

Map custom domain names to specific IP addresses for your testing needs.

Lighthouse Performance Metrics

Leverage Lighthouse to analyze website performance metrics within your tests.

Generate Multiple Lighthouse Reports

Run multiple Lighthouse audits and generate reports for comparison.

Debugging Options

Explore debugging tools provided by LambdaTest to troubleshoot your tests.

Telemetry Logs

Access detailed logs generated during your test execution for analysis.

SmartWait Functionality

Understand how LambdaTest's SmartWait feature waits for elements to become interactive before proceeding with tests.

CustomHeaders

Set custom headers in your test requests to simulate specific scenarios.

Autohealing

Learn about LambdaTest's autohealing functionality that automatically recovers from unexpected session issues.

Command Annotations

Discover how to use LambdaTest's command annotations to control test execution flow.

HAR Logs

Utilize HTTP Archive (HAR) logs to analyze network traffic during your tests.

Mask your Sensitive Data

Protect sensitive information like passwords or tokens from being exposed in test logs.

Got any questions?
Please reach out at our 24x7 Chat Support or you could also mail us at support@lambdatest.com.

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

Book Demo

Help and Support

Related Articles