Skip to content
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

Possibility to select chrome/canary #15

Open
stepnivlk opened this issue Mar 22, 2018 · 1 comment
Open

Possibility to select chrome/canary #15

stepnivlk opened this issue Mar 22, 2018 · 1 comment

Comments

@stepnivlk
Copy link

stepnivlk commented Mar 22, 2018

I think it would be quite helpful to be able to select which chrome I want to run (stable/canary), something like:

{:ok, pid} = ChromeLauncher.launch([remote_debugging_port: 9233, canary: true])

what do you think @andrewvy ?

@andrewvy
Copy link
Owner

Hi! I think this may be difficult for detecting which chrome installations are installed on the host machine, https://github.com/andrewvy/chrome-launcher/blob/master/lib/finder.ex is still not the greatest.

For your cases, you can also provide a CHROME_PATH environment variable to the desired executable. Let me know if that works, or if you desire running different types of chrome versions at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants