└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # How to add build tags to automation tests in Python-selenium on [LambdaTest](https://www.lambdatest.com/?utm_source=github&utm_medium=repo&utm_campaign=Python-selenium-tags) 2 | 3 | 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](https://github.com/LambdaTest/python-selenium-sample). 4 | 5 | # Steps 6 | 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: 7 | 8 | ```python 9 | desired_caps = { 10 | 'LT:Options': { 11 | "build": "Python Demo", # Change your build name here 12 | "name": "Python Demo Test", # Change your test name here 13 | "platformName": "Windows 11", 14 | "selenium_version": "4.0.0", 15 | "buildTags": ["test-build1","test-build2"] #change build tags here 16 | }, 17 | "browserName": "Chrome", 18 | "browserVersion": "98.0", 19 | } 20 | 21 | ``` 22 | 23 | ### Run your test 24 | 25 | ```bash 26 | python lambdatest.py 27 | ``` 28 | 29 | # Links: 30 | 31 | [LambdaTest Community](http://community.lambdatest.com/) 32 | 33 | --------------------------------------------------------------------------------