You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: