Skip to content

Compatibilty issues between CDP Mode and non default Chrome browser #3701

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
wants to merge 1 commit into from

Conversation

S3it4ma
Copy link

@S3it4ma S3it4ma commented Apr 26, 2025

I encountered a FileNotFoundError while working with SeleniumBase using Brave. It was caused by the cdp_util.start( ) function because it could not find Chrome. By adding the browser_executable_path parameter in activate_cdp_mode and uc_open_with_cdp_mode i was able to easily resolve the unexpected behavior.

@mdmintz
Copy link
Member

mdmintz commented Apr 28, 2025

Unnecessary. Just set the binary_location from SB() initialization.
Eg: (on a Mac):
SB(binary_location="/Applications/Brave Browser.app/Contents/MacOS/Brave Browser")
(Use version 4.37.8 or newer.)

@mdmintz mdmintz closed this Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants