minkphp / MinkZombieDriver

Zombie.js driver for Mink framework
41 stars 49 forks source link

Update README.md with example of setting options #184

Open aik099 opened 7 years ago

aik099 commented 7 years ago

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 commented 7 years ago

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