Tell me how I can run browser in incognito mode in Behave on LambdaTest.
Hello Devan,
You can easily run a test using Chrome browser in incognito mode in Behave.
Here is an example:
> [
> {
> "platform": "Windows 10",
> "browserName": "chrome",
> "version": "latest",
> "build": "Behave Selenium Sample",
> "name": "Behave Sample Test",
> "chromeOptions" : {
> "args" : ["incognito"] # ChromeOption to start chrome in incognito mode
> }
> ]
Download and config the GitHub repo: