Skip to content

uc=True allows ChromeDriver to open the browser, but it cannot navigate to the target URL. #3797

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
rikunz opened this issue Jun 6, 2025 · 3 comments
Labels
can't reproduce We tried to see what you saw, but didn't not enough info not enough info / more info needed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@rikunz
Copy link

rikunz commented Jun 6, 2025

🐞 Bug Report: uc=True Fails to Navigate to URL with Chrome 137

Summary

When using seleniumbase.Driver(uc=True) with the latest Chrome (137.0.7151.69), the ChromeDriver successfully opens the browser window, but it cannot navigate to the requested URL. The page does not load, and the browser appears stuck on a blank or about:blank page.


Steps to Reproduce

  1. Ensure Google Chrome is updated to version 137.0.7151.69.

  2. Install the latest SeleniumBase.

  3. Run the following script:

    from seleniumbase import Driver
    driver = Driver(uc=True, headless=False, ad_block=True)
    driver.uc_open_with_reconnect("https://www.google.com/", reconnect_time=6)
    print(driver.title)
    driver.quit()
  4. Observe that Chrome opens, but does not load the intended URL.


Expected Behavior

  • The browser should open and navigate to the specified URL (https://www.google.com) when using uc=True.

Actual Behavior

  • The browser window opens, but remains blank and does not navigate to the given URL.
  • There is no navigation or content loaded.

Environment

  • SeleniumBase version: 4.39.2
  • Python version: (please specify)
  • Operating System: (please specify)
  • Chrome version: 137.0.7151.69

Logs / Traceback

(No exception thrown, browser just remains blank. Add console or terminal logs here if available.)

Minimal Reproducible Example

from seleniumbase import Driver

driver = Driver(uc=True, headless=False, ad_block=True)
driver.uc_open_with_reconnect("https://www.google.com/", reconnect_time=6)
print(driver.title)
driver.quit()

Additional Context

  • Using the same code without uc=True works as expected, and the browser navigates to the URL.
  • This issue started occurring after updating Chrome to version 137.
  • The undetected-chromedriver mode (uc=True) is important for bypassing detection, but it currently cannot load any URLs.

Please advise on a workaround, or whether a patch is planned to support Chrome 137 in uc=True mode.

Thank you!

@mdmintz mdmintz added not enough info not enough info / more info needed can't reproduce We tried to see what you saw, but didn't UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Jun 6, 2025
@mdmintz
Copy link
Member

mdmintz commented Jun 6, 2025

I ran the script exactly as you had it, and it worked for me on Chrome 137, tested locally.

from seleniumbase import Driver

driver = Driver(uc=True, headless=False, ad_block=True)
driver.uc_open_with_reconnect("https://www.google.com/", reconnect_time=6)
print(driver.title)
driver.quit()

The output from the print(driver.title) was Google.

@mdmintz mdmintz closed this as completed Jun 6, 2025
@rikunz
Copy link
Author

rikunz commented Jun 6, 2025

Image
i am stuck in the search engine

@rikunz
Copy link
Author

rikunz commented Jun 6, 2025

yeah it fixed i'm sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce We tried to see what you saw, but didn't not enough info not enough info / more info needed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

No branches or pull requests

2 participants