-
Notifications
You must be signed in to change notification settings - Fork 2.3k
reading configuration parameters from the configuration file #102
Comments
The configuration file is set up to configure how Protractor runs. Maybe you're asking about something like this: #32 ? That feature request is in the pipes. |
Yes , I am looking for the somewhat similar thing. Will it be available in future release |
Yes, it should be done in the next major release. |
is this available now? |
Yes, you can use command line flags to change the configuration. |
so can i read and reference any of the config parameters/value in my test.js file for instance? If so, how do I do that? |
Run just |
Got it, thanks! I am using process.argv (http://nodejs.org/docs/latest/api/process.html#process_process_argv) to capture these command line params back into my test.js file. |
HOW DID YOU DO ? an example code please nithyanatesan |
Hi @juliemr , I have a similar question, I need to access for the cucumberOptions to know if the tests are running on dry-run on the protractor hooks, is it possible? |
I am trying to set some configuration parameters in configuraiton file and reading the same in my protractorjs file. As per my understanding I can set the config parameters in conf.js file. But i am trying to read the same in my protractor js file. Can you tell me how to read or which function to call to read these parameters. Some sample code snippet would be helpful
The text was updated successfully, but these errors were encountered: