Hello Guys, I’m new here and I started studying automation 2 weeks ago. I’m trying to get my tests to open Google Chrome in the incognito window but I can’t. can you help me? Sorry if I’m posting in the wrong place.
I’ve tried this, it works for me.
${options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${options} add_argument incognito
Create WebDriver Chrome chrome_options=${options}
Go To https://www.google.com