-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Failed to start protractor 5.0.0 with specifying Selenium server Jar option #3986
Comments
I suspect the issue is that the selenium server is failing to start, but we don't relay the error message properly. If I had to take a guess, I'd suggest trying something like We should handle the promise rejection, though. Should be a quick fix. |
Argh, you are absolutely correct, should pay for glasses to see better what it is written on documentation site, it's the array notation that were missing out there ... |
Glad it's working. Also, the best way to do this is probably to use webdriver-manager, which comes bundled with Protractor.
|
For your comment about using webdriver-manager, i had encountered another issue that java process created not shutdown correctly with shutdown command... For a moment i had posed question on SO . Would need to create another bug report. I were not sure if it's issue of Protractor or Selenium... |
…angular#3989) Fixes angular#3986. Also error if jvmArgs isn't an array.
Bug report
6.9.1
5.0.0
1.5.8
IE 32bit, 11
Windows 7 SP1 64 bit
Steps to reproduce the bug
Attempt to start Protractor suite with protractor script
.\node_modules.bin\protractor test\protractor\protractor-ci.conf.js --troubleshoot
The URL you are running your tests against (if relevant)
I also attempted to put jvmArgs config parameter inside localSeleniumStandaloneOpts, but obtained same result.
If removing jvmArgs obtained next output:
The text was updated successfully, but these errors were encountered: