SeleniumBasic
SeleniumBasic copied to clipboard
Cookies
Hello! I would be grateful if someone could help me to disable cookies for chromedriver and phantomjs driver.
Thank you for youl help
Not sure about Chrome. For Firefox you can set the profile to use. I use a custom profile for Selenium.
drv.SetProfile "Selenium", persistant:=True
Quit Firefox and run 'firefox.exe -p'. Select the Selenium profile and disable cookies for this profile. You can create a custom user for Chrome. You may be able to use a similar approach.