Skip to content

[🐛 Bug]: Extensions are not installed on Chrome Beta 137 #15722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
silvadf9 opened this issue May 8, 2025 · 7 comments
Closed

[🐛 Bug]: Extensions are not installed on Chrome Beta 137 #15722

silvadf9 opened this issue May 8, 2025 · 7 comments
Labels
C-py Python Bindings D-chrome G-chromedriver Requires fixes in ChromeDriver I-defect Something is not working as intended OS-mac

Comments

@silvadf9
Copy link

silvadf9 commented May 8, 2025

Description

While running a test on the Beta version of chrome (v137.0.7151.15) I noticed that extensions are no longer being installed. The same code works correctly on the stable version (v136.0.7103.93) and previous.

Reproducible Code

import time

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


if __name__ == "__main__":
    options = ChromeOptions()
    options.browser_version = "beta"

    options.add_extension(<path-to-some-extension>)
    driver = webdriver.Chrome(options=options)

    driver.get("https://google.com")
    time.sleep(5)

Debugging Logs

https://gist.github.com/silvadf9/cd998838eaf71dd7211fbef61c4e4d63
@silvadf9 silvadf9 added I-defect Something is not working as intended A-needs-triaging A Selenium member will evaluate this soon! labels May 8, 2025
@selenium-ci
Copy link
Member

@silvadf9, thank you for creating this issue. We will troubleshoot it as soon as we can.

Selenium Triage Team: remember to follow the Triage Guide

@github-actions github-actions bot added C-py Python Bindings D-chrome OS-mac labels May 8, 2025
@cgoldberg
Copy link
Contributor

Just to clarify...

  • are you getting any error, or is the extension just not installed?
  • is it a packed (.crx) or unpacked extension (directory)?
  • are you able to install the same extension without using Selenium?

This is most likely an issue with Chrome/ChromeDriver, as Selenium has not changed anything with how extensions are installed.

@silvadf9
Copy link
Author

silvadf9 commented May 8, 2025

  1. No error, the extension is not installed.
  2. It's a packed .crx
  3. I'm able to install it with selenium on the stable chrome version

That's what I'm thinking as well, what would be the best approach if that is the case?

@cgoldberg
Copy link
Contributor

I'm able to install it with selenium on the stable chrome version

But can you install it on the beta version without using selenium?

@silvadf9
Copy link
Author

silvadf9 commented May 8, 2025

Yes, if I turn on developer mode on the extensions menu and drag and drop the .crx it is installed.

@cgoldberg cgoldberg added G-chromedriver Requires fixes in ChromeDriver and removed A-needs-triaging A Selenium member will evaluate this soon! labels May 8, 2025
@selenium-ci
Copy link
Member

Hi, @silvadf9.
This issue has been determined to require fixes in ChromeDriver.

You can see if the feature is passing in the Web Platform Tests.

If it is something new, please create an issue with the ChromeDriver team.
Feel free to comment the issues that you raise back in this issue. Thank you.

@silvadf9
Copy link
Author

silvadf9 commented May 8, 2025

https://issues.chromium.org/issues/416458869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-py Python Bindings D-chrome G-chromedriver Requires fixes in ChromeDriver I-defect Something is not working as intended OS-mac
Projects
None yet
Development

No branches or pull requests

3 participants