Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Enable chromeFlags and customize userDataDir #310

Closed
wants to merge 4 commits into from

Conversation

webpolis
Copy link

@webpolis webpolis commented Oct 5, 2017

This PR fixes #192 which added the chromeFlags option but wasn't functional because of a misuse of the JS spread operator (user's custom settings were automatically ignored).

Also, it adds a new option userDataDir, which is the user profile's path. Useful if you want to keep separate user profiles.

Apart from the many possibilities chromeFlags provides, there's the ability to set a proxy programatically:

chromeFlags: ['--proxy-server=127.0.0.1:8082']

@webpolis webpolis closed this Oct 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants