Skip to content

Is it possible to use chrome binary location with seleniumbase #1682

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
sunny9495-dev opened this issue Jan 16, 2023 · 2 comments
Closed

Is it possible to use chrome binary location with seleniumbase #1682

sunny9495-dev opened this issue Jan 16, 2023 · 2 comments
Labels
question Someone is looking for answers

Comments

@sunny9495-dev
Copy link

Hi,

First of all, I am really impressed with the library.

My question is, is it possible to use chrome binary location with SeleniumBase?

If not, is there any separate parameters to add to PyInstaller to install on client side.

@mdmintz mdmintz added the question Someone is looking for answers label Jan 16, 2023
@mdmintz
Copy link
Member

mdmintz commented Jan 16, 2023

Hello, and thank you!

SeleniumBase automatically detects the browser binary that's located on the system PATH. If there's no matching driver, SeleniumBase automatically downloads one to the seleniumbase/drivers folder.

There's a thread about using PyInstaller with SeleniumBase here (example with the SB Recorder): #1075 (comment)

Here's a video showing the PyInstaller executable launching the SB Recorder (and SB tests via the Recorder App):

recorder_exe.mov

The SeleniumBase Recorder App has had many improvements since that video was created.

@mdmintz mdmintz closed this as completed Jan 19, 2023
@mdmintz
Copy link
Member

mdmintz commented Jan 31, 2023

A newer version of SeleniumBase has options for setting a custom Chrome binary location. See #1709

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone is looking for answers
Projects
None yet
Development

No branches or pull requests

2 participants