Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
docs(browser): replace protractor refs (#3380)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesselpalmer authored and cnishina committed Jul 15, 2016
1 parent 172b222 commit 7c285dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export interface ElementHelper extends Function {
}

/**
* Build the helper 'element' function for a given instance of Protractor.
* Build the helper 'element' function for a given instance of Browser.
*
* @private
* @param {Protractor} ptor
* @param {Browser} browser A browser instance.
* @returns {function(webdriver.Locator): ElementFinder}
*/
function buildElementHelper(browser: Browser): ElementHelper {
Expand Down Expand Up @@ -307,15 +307,15 @@ export class Browser extends Webdriver {
getProcessedConfig(): webdriver.promise.Promise<any> { return null; }

/**
* Fork another instance of protractor for use in interactive tests.
* Fork another instance of browser for use in interactive tests.
*
* Set by the runner.
*
* @param {boolean} opt_useSameUrl Whether to navigate to current url on
* creation
* @param {boolean} opt_copyMockModules Whether to apply same mock modules on
* creation
* @returns {Protractor} a protractor instance.
* @returns {Browser} A browser instance.
*/
forkNewDriverInstance(
opt_useSameUrl?: boolean, opt_copyMockModules?: boolean): Browser {
Expand Down
4 changes: 2 additions & 2 deletions lib/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class WebdriverWebElement {
* });
*
* @constructor
* @param {Browser} browser A protractor instance.
* @param {Browser} browser A browser instance.
* @param {function(): Array.<webdriver.WebElement>} getWebElements A function
* that returns a list of the underlying Web Elements.
* @param {webdriver.Locator} locator The most relevant locator. It is only
Expand Down Expand Up @@ -696,7 +696,7 @@ export class ElementArrayFinder extends WebdriverWebElement {
*
* @constructor
* @extends {webdriver.WebElement}
* @param {Browser} browser_
* @param {Browser} browser_ A browser instance.
* @param {ElementArrayFinder} elementArrayFinder The ElementArrayFinder
* that this is branched from.
* @returns {ElementFinder}
Expand Down

0 comments on commit 7c285dc

Please sign in to comment.