Home
Softono

Python Selenium Headless

Open source
13
Stars
5
Forks
0
Issues
1
Watchers
4 years
Last Commit

 About Python Selenium Headless

A sample repo to help you run a test in headless mode in Python-selenium on LambdaTest. Run your python automation test scripts on Lambdatest.

Platforms

Web Self-hosted

Need Help Installing Python Selenium Headless?

We provide expert installation service for this software. Our team will install, configure, and secure Python Selenium Headless on your server. plans start at just $30.

Python Selenium Headless

View on GitHub

How to run an automation test in Python-selenium in headless mode on on LambdaTest

If you want to set browser specific options for an automation test in Python-selenium on Lambdatest, you can use the following steps. You can refer to sample test repo here.

Steps:

You can run a test in headless mode by providing it as a capability in test file. The capabilities would look something like this:

desired_caps = {
            'LT:Options': {
                "build": "Python Demo",  # Change your build name here
                "name": "Python Demo Test",  # Change your test name here
                "platformName": "Windows 11",
                "selenium_version": "4.0.0",
                "headless": True    
            },
            "browserName": "Chrome",
            "browserVersion": "98.0",
        }

Run your test

python lambdatest.py

Links:

LambdaTest Community