使用Selenium编辑Google扩展程序选项

问题描述

我正在尝试使用Selenium时使用Buster Captcha扩展。我遇到的问题是,通过Selenium运行时,Buster的扩展名选项与我的个人扩展名不同。我想勾选使扩展程序能够模拟用户输入的框。 Selenium有什么办法做到这一点?也许不是一种加载我的扩展偏好的方法吗?

这是当前代码的扩展部分

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

options = Options()
options.add_extension("Buster Extension Path")
DRIVER_PATH = "Chrome Driver Path"
driver = webdriver.Chrome(options=options,executable_path=DRIVER_PATH)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)