Let me know how I can set browser-specific options in Behave on LambdaTest.
Hello Devan,
You can easily set browser-options in Behave on LambdaTest.
The following is an example on how to set Chrome specific options using chromeOptions:
capabilities = {
"build": "Sample PY Build",
"platformName": "Windows 11",
"browserName": "Chrome",
"browserVersion": "latest",
"chromeOptions" : {
"args" : ["incognito"] # ChromeOption to start chrome in incognito mode
}
}
You can download and configure this GitHub repo: