Closed andrewnicols closed 3 years ago
The default capability for Chrome is the ChromeOptions::CAPABILITY and this is converted to CAPABILITY::CAPABILITY_W3C in toArray() as required.
toArray()
Use of the W3C variant in this manner was causing all arguments and driver options to be entirely discarded, preventing use of headless browsers.
Okay, turns out this this is a bug against php-webdriver/php-webdriver#852.
This will require a composer update once Onrej looks into it.
The default capability for Chrome is the ChromeOptions::CAPABILITY and this is converted to CAPABILITY::CAPABILITY_W3C in
toArray()
as required.Use of the W3C variant in this manner was causing all arguments and driver options to be entirely discarded, preventing use of headless browsers.