This repository was archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
CLI: error when specifying single value config arrays from command line #4050
Comments
NickTomlin
added a commit
to NickTomlin/protractor
that referenced
this issue
Feb 26, 2017
Chromedriver requires that certain options always be passed as an array. Optimist passes --single-option as a string instead of an array which is invalid. This ensures that we always pass an array, even if a single option is passed via the cli. Fixes angular#4050
NickTomlin
added a commit
to NickTomlin/protractor
that referenced
this issue
Feb 26, 2017
Chromedriver requires that certain options always be passed as an array. Optimist passes --single-option as a string instead of an array which is invalid. This ensures that we always pass an array, even if a single option is passed via the cli. Fixes angular#4050
NickTomlin
added a commit
to NickTomlin/protractor
that referenced
this issue
Mar 3, 2017
Chromedriver requires that certain options always be passed as an array. Optimist passes --single-option as a string instead of an array which is invalid. This ensures that we always pass an array, even if a single option is passed via the cli. Fixes angular#4050
NickTomlin
added a commit
to NickTomlin/protractor
that referenced
this issue
Mar 3, 2017
Chromedriver requires that certain options always be passed as an array. Optimist passes --single-option as a string instead of an array which is invalid. This ensures that we always pass an array, even if a single option is passed via the cli. Fixes angular#4050
heathkit
pushed a commit
that referenced
this issue
May 3, 2017
Chromedriver requires that certain options always be passed as an array. Optimist passes --single-option as a string instead of an array which is invalid. This ensures that we always pass an array, even if a single option is passed via the cli. Fixes #4050
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Protractor version:
5.0.0
Browser:
Chrome 56.0.2924.76
Chromedriver:
2.26.436421
directConnect:
true
Currently to specify
capabilities.chromeOptions.args
from command line I am forced to add fake argument so that it is parsed as array in config:If specifying just
--capabilities.chromeOptions.args=--no-sandbox
then it is parsed not as array with single string, but as single string and I get the following error:The text was updated successfully, but these errors were encountered: