Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Elmasekar/Python-selenium-custom-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

How to add custom metadata to automation tests in Python-selenium on LambdaTest

If you want to add custom metadata to automation tests in Python-selenium on LambdaTest, you can follow the steps below. You can refer to sample test repo here.

Steps

With LambdaTest, you can add custom meta data to automation tests. These are added for tests by setting the data in customData 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",
 "customData": [ 	
						{ "_id": "5f46aaa69adf77cfe2bb4fd6", 
						"index": "0", 
						"guid": "9451b204-12f0-4177-8fe9-fb019b3e4bf3", 
						"isActive": "False", 
						"picture": "http//placehold.it/32x32" } ] 
 },
 "browserName": "Chrome",
 "browserVersion": "98.0",
 }

Run your test

python lambdatest.py

Links:

LambdaTest Community

AltStyle によって変換されたページ (->オリジナル) /