disabling Cookies on phantomjs using selenium with

2019-09-11 05:57发布

问题:

I have searched for long time but I could not find how to disable cookies for phantomjs using selenium with python . I couldn't understand the documentation of phantomjs.Please someone help me.

回答1:

Documentation suggests this driver.cookies_enabled = False, you can use it.