SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

Cookies

Open Ulixestoitaca opened this issue 7 years ago • 1 comments

Hello! I would be grateful if someone could help me to disable cookies for chromedriver and phantomjs driver.

Thank you for youl help

Ulixestoitaca avatar Dec 10 '17 23:12 Ulixestoitaca

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.

mogulman52 avatar Dec 15 '17 14:12 mogulman52