Dusk keys() function is broken after php-webdriver/webdriver update.
Seems that webdriver expects string, but dusk inputs array.
Output from test:

From test:

The keys function:


What webdriver is doing:

Also, it seems that dragging (dragLeft, dragRight) is broken, but I cannot create an exception other than nothing happens...
@ahtinurme I've reported this to php-webdriver's repo. Seems like they now automatically enable the w3c protocol which changes the behavior for some methods. Can you weigh in here and also provide the missing versions they ask in the issue? https://github.com/php-webdriver/php-webdriver/issues/758
The dragging issue might be related to https://github.com/php-webdriver/php-webdriver/issues/757. Feel free to also weigh in there with any info you might have.
@driesvints Added my weigh in and following the issues.
Thanks for the quick reply!
We've locked php-webdriver on ^1.7 <1.8 for now until the issues are fixed.
Php-webdriver 1.8.1 which includes the fix has just been released :rocket:
Cool. I've removed the maximum constraint and set 1.8.1 as the new minimum. Will be in tomorrow's release.
Most helpful comment
We've locked php-webdriver on
^1.7 <1.8for now until the issues are fixed.