-
Notifications
You must be signed in to change notification settings - Fork 268
Description
I'm using selenium standalone 2.39 or 2.4 with Chromedriver 2.8 or 2.9 and Chrome 33 on ubuntu-64bit.
The selenium system works ok if I run the python web driver so I've narrowed it down to this extension.
If I have coverage enabled in the phpunit.xml file or on the command line, the chrome browser fails to run properly with the error
Failed to set the 'cookie' property on 'Document': Cookies are disabled inside 'data:' URLs.
The browser starts with data:; as the start URL, but then crashes out without changing the URL.
I've notionally pinned this down to around line 289 of Selenium2TestCase.php where a session cookie is set, and the driver is failing at this point.
Whilst its not completely necessary for my requirements to have coverage for selenium tests, as part of a larger suite its a PITA.
I'm not sure how you'd go about modifying the code. Perhaps an edge case check for Chrome in prepareSession()?