Skip to content

Commit

Permalink
docs(addMockModules): improve messaging around browser context
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Nov 18, 2015
1 parent 5fa86dc commit 1ad647f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/protractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ Protractor.prototype.isElementPresent = function(locatorOrElement) {
*
* @param {!string} name The name of the module to load or override.
* @param {!string|Function} script The JavaScript to load the module.
* Note that this will be executed in the browser context, so it cannot
* access variables from outside its scope.
* @param {...*} varArgs Any additional arguments will be provided to
* the script and may be referenced using the `arguments` object.
*/
Expand Down

0 comments on commit 1ad647f

Please sign in to comment.