How can I pass capabilities in Selenium 4 ?
Hey Rebecca,
You can use the capabilities mentioned below:
var capabilities = {
'LT:Options' : {
"user" : "Your Lambda Username",
"accessKey" : "Your Lambda Access Key",
"build" : "your build name",
"name" : "your test name",
"platformName" : "Windows 11"
},
"browserName" : "Chrome",
"browserVersion" : "104.0",
}
Selenium Desired Capabilities Generator: Automation Capabilities Generator For Selenium and Appium | LambdaTest