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

Enable chromeFlags and customize userDataDir#310

Closed
webpolis wants to merge 4 commits into
schickling:masterfrom
webpolis:master
Closed

Enable chromeFlags and customize userDataDir#310
webpolis wants to merge 4 commits into
schickling:masterfrom
webpolis:master

Conversation

@webpolis
Copy link
Copy Markdown

@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.

3 participants