【问题标题】:disabling Cookies on phantomjs using selenium with python [closed]使用 selenium 和 python 在 phantomjs 上禁用 Cookies [关闭]
【发布时间】:2015-11-04 05:26:17
【问题描述】:

我已经搜索了很长时间,但我找不到如何使用 selenium 和 python 禁用 phantomjs 的 cookie。我无法理解 phantomjs 的文档。请有人帮助我。

【问题讨论】:

    标签: python selenium cookies phantomjs


    【解决方案1】:

    文档建议这个driver.cookies_enabled = False,你可以使用它。

    【讨论】:

    • 对不起,我不能投票给你
    • 感谢您的帮助
    • @user252718 欢迎您。希望以后你会这样做。
    • 当然,但这意味着我们应该像在所需功能或普通命令中一样使用它
    • 只是一个命令,不是功能
    猜你喜欢
    • 2016-06-10
    • 1970-01-01
    • 1970-01-01
    • 2022-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多