-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When using this driver from behat, there is no way of setting the browser commandline args (ie. --headless or --start-maximized for chrome).
mink-selenium2-driver allows to specify chromeOptions under extra_capabilities (and similar with other browsers). It would be nice if it was compatible, so you could switch between mink-phpwebdriver-extension and mink-selenium2-driver.
I have tried to hardcode
$capabilities['goog:chromeOptions']['args'] = ['--start-maximized'];
into buildDriver() metod and it seems to work, so it should be a matter of just passing those arguments through.
Maybe there already is other way of doing this, but I couldn't figure it out.
Metadata
Metadata
Assignees
Labels
No labels