grunt-protractor-webdriver does not work with selenium-server-standalone-2.47.1
blabno opened this issue · 12 comments
The output of selenium-server-standalone-2.47.1 is different then selenium-server-standalone-2.45.0 and thus grunt plugin hangs. Last message is
Starting Selenium server
Getting the same issue as well
Thank you
I have same issue and found the root cause. In protractor_webdriver task, are declared regexps used to test incoming traffic from selenium. There's a REGEXP_START_READY which is tested against data responses and in case of match it calls function started(callback) which indicates that selenium is already started and protractor_webdriver async task is finished. Unfortunately seems that responses from selenium has been chaned in version 2.47.1 and thus async webdriver task is never ended. That's why neither protractor nor else grunt task after protractor_webdriver will ever run.
There are 2 workarounds, someone should fix the regexp or you can run grunt twice, first webdriver, secondly the rest of grunt tasks which should follow it For me worked when set regexp to this:
REGEXP_START_RUNNING = /Selenium is already running/
@michael-rohac PR is waiting for 3 days now. blabno#1
Sorry, I'm quite new here and missed that PR is already created.
Any chance of a release containing this fix?
+1 it would avoid me having to fork it