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

Update README.md with example of setting options #184

Open
aik099 opened this issue Aug 22, 2017 · 1 comment
Open

Update README.md with example of setting options #184

aik099 opened this issue Aug 22, 2017 · 1 comment

Comments

@aik099
Copy link
Member

aik099 commented Aug 22, 2017

The #183 added ability to set Zombie options, when constructing the driver, but no example was added to the README.md. I think we should have one.

@aik099
Copy link
Member Author

aik099 commented Aug 22, 2017

This is relevant code line: https://github.com/minkphp/MinkZombieDriver/blob/master/src/NodeJS/Server.php#L86

Basically specifying $options array during ZombieServer class object creation would allow to set any of Zombie supported options, including proxy.

Actual supported options at listed in Zombie code: https://github.com/assaf/zombie/blob/master/src/index.js#L33-L35

CC: @historylife

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

No branches or pull requests

1 participant