问题
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.
来源:https://stackoverflow.com/questions/33514313/disabling-cookies-on-phantomjs-using-selenium-with-python