[英]Cannt enable developer mode chrome selenium python
im trying to enable developer mode but it does not work.我试图启用开发人员模式,但它不起作用。 what am i wrong at?我错在哪里? (chrome can open but developer mode is still not enabled) (chrome可以打开但是开发者模式还没有开启)
options = uc.ChromeOptions()
options.add_argument(f"--load-extension=" + ",".join([
str(pathlib.Path("./capcha2").absolute()),
str(pathlib.Path("./metamask").absolute())
]))
prefs = {
"extensions.ui.developer_mode": True,
}
options.add_experimental_option("prefs", prefs )
options.add_argument('--no-first-run --no-service-autorun --password-store=basic')
driver = uc.Chrome(use_subprocess=True, options=options, user_data_dir=path_profile_chrome, )
options = webdriver.ChromeOptions()
options.add_argument("--force-dev-mode-highlighting")
options.add_argument("--system-developer-mode")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.