Closed LogansUA closed 8 years ago
this looks like errors in Zombie itself, so I suggest reporting them to zombie directly.
This happens when the page load by the click takes more than 5 seconds to load (including assets like image / css / js)
We also got this issue because of a slow dependency.
However zombie supports an option when creating the browser to have a longer Timeout if needed: waitDuration
.
AFAIK there is more options than timeout, maybe it would be nice to handle them when creating the browser instance in ZombieServer
?
Reference of options : https://github.com/assaf/zombie/blob/master/src/index.js#L30
I see no problem in adding support for Zombie options on Server
class (see https://github.com/minkphp/MinkZombieDriver/blob/master/src/NodeJS/Server.php#L73) by adding 7th constructor parameter. Then these options can be passed directly to created browser instances.
Unfortunately this alone won't make Behat users happier, because the MinkExtension part responsible for integration with Zombie needs to be updated as well so that zombie options can be specified via .behat.yml
file.
Please send these PR's then (or at least one of them).
Closing in favor of #154, where setting for zombie options is added.
Hello everyone. I'm trying to do some thing using custom symfony console command. In console command i starting zombie session like in example:
After that, i'm getting session and trying to execute some scenarios:
HTML link view:
And there come's error's: Sometimes getting this:
And sometimes getting that:
I have installed:
Someone know what to do with this? :smile: