【问题标题】:Python - Selenium Storing Extensions' dataPython - Selenium 存储扩展\'数据
【发布时间】:2022-08-04 08:11:16
【问题描述】:

我使用元掩码扩展,但是当我重新启动代码时,扩展数据正在删除。我该如何设置。我不想再这样做了。我现在的代码是这样的:`

from selenium import webdriver
from selenium.webdriver.chrome.options import Options as coptions


PATH = \'./chromedriver.exe\'
options = coptions()
options.add_extension(\"meta.crx\")
driver = webdriver.Chrome(PATH, options=options)
driver.get(\"https://www.google.com\")

input(\"enter?\")
driver.quit()

` 我怎样才能做到这一点 ?

    标签: python selenium


    【解决方案1】:

    +1。我也需要知道这一点。有谁知道解决方案?

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-07
    • 2012-06-29
    • 2013-05-06
    • 2019-12-12
    • 1970-01-01
    相关资源
    最近更新 更多