ProtractorParam
Index
Constructors
Methods
Constructors
constructor
Returns ProtractorParam
Methods
staticcalled
Name of the parameter to retrieve. This could also be a dot-delimited path, e.g.
login.username
Type parameters
- Return_Type
Parameters
name: Answerable<string>
Returns QuestionAdapter<Return_Type>
Returns a Protractor configuration parameter specified in
protractor.conf.js
and identified by name. Protractor configuration parameters can be overridden via the command line.Warning: this question is Protractor-specific, so using it in your tests will reduce their portability across test integration tools.
Overriding configuration parameter using the command line
Using as
QuestionAdapter
Specifying path to param as string
Learn more