Behat Selenium arguments[0] is undefined Problem + Solution
Feb 17, 2015 · 1 minute readCategory: behat
Just spent a good amount of time struggling to see why my perfectly functional looking code was not working.
Tests were failing with the error message:
arguments[0] is undefined
A little bit of Googling later and I found the issue.
It seems that some Firefox versions will bomb out and give you this error message.
The simple solution, if you can, is to switch to using Chrome and Chromedriver