Skip to content

A sample repo to help you add build tags to automation tests in Python-selenium on LambdaTest. Run your Python automation test scripts on Lambdatest.

Notifications You must be signed in to change notification settings

Elmasekar/Python-selenium-build-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

How to add build tags to automation tests in Python-selenium on LambdaTest

If you want to add build tags to group builds in Python-selenium on LambdaTest, you can follow the steps below. You can refer to sample test repo here.

Steps

With LambdaTest, you can group your test builds with Build tags. These are added for tests by setting the tags in buildTags capability. The code below illustrates the usage:

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",
                "buildTags": ["test-build1","test-build2"]   #change build tags here      
            },
            "browserName": "Chrome",
            "browserVersion": "98.0",
        }

Run your test

python lambdatest.py

Links:

LambdaTest Community