I'm using Protractor to perform some end to end tests, and I'd like to pass in login credentials through the command line instead of storing them in a spec file. I found one post where someone used process.argv.forEach
, but how can I store those values and use them in another spec file? I have a file called login-spec.js
where I'd like to use the command-line arguments.
Thanks!