now waiting for selenium server and dev server to complete startup, and ...

...added selenium server option setting

Hello, me again.

I'm setting up my project with the behat-laravel package, but I want to use Mink to drive headless browsers.  This is mostly fine with just adding the dependencies and playing around with what the BaseContext and FeatureContext inherit from.

The problem I've got is that the IntegrationTestCase doesn't "wait" for the servers to start.  I think it's actually relying on things like Firefox taking a while to startup - something that doesn't apply when you are using the pure-php Goutte driver for example.  This means that sometimes my first feature will fail, because the server hasn't started yet.

I've set this up to now "wait" for some given output from the commands which are executed.  Currently it throws a plain (unextended)  \Exception if nothing happens for 30s - I think this could be improved.

Not sure if you want to include this, at it doesn't seem necessary for the "normal" case.