在python上使用硒禁用phantomjs上的Cookies [英] disabling Cookies on phantomjs using selenium with python
本文介绍了在python上使用硒禁用phantomjs上的Cookies的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经搜索了很长时间,但是我找不到如何使用selenium和python来禁用phantomjs的cookie的方法.我无法理解phantomjs的文档.请有人帮助我.
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.
推荐答案
文档建议使用此driver.cookies_enabled = False
,您可以使用它.
Documentation suggests this driver.cookies_enabled = False
, you can use it.
这篇关于在python上使用硒禁用phantomjs上的Cookies的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文