-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed as duplicate of#15788
Labels
C-pyPython BindingsPython BindingsD-chromeI-regressionSomething was working but we "fixed" itSomething was working but we "fixed" it
Description
Description
It is impossible to load Chrome crx extension in Chrome 142, while same code works well before Chrome upgrade.
Reproducible Code
options = webdriver.ChromeOptions()
extension_path = os.path.join(project_dir, "extensions/ModHeader-Modify-HTTP-headers-Chrome-Web-Store.crx")
options.add_extension(extension_path)
options.add_argument("--test-type")
options.add_argument("--start-maximized")
options.add_argument("--disable-web-security")
options.add_argument("--allow-insecure-localhost")
options.add_argument("--allow-running-insecure-content")
options.add_argument("--disable-site-isolation-trials")
options.add_argument("--lang=en")
options.add_argument("--disable-features=DisableLoadExtensionCommandLineSwitch")
_driver = webdriver.Chrome(options)dalpil
Metadata
Metadata
Assignees
Labels
C-pyPython BindingsPython BindingsD-chromeI-regressionSomething was working but we "fixed" itSomething was working but we "fixed" it