diff --git a/lib/browser.ts b/lib/browser.ts index 4116c787f..4e70dd2d7 100644 --- a/lib/browser.ts +++ b/lib/browser.ts @@ -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 { @@ -307,7 +307,7 @@ export class Browser extends Webdriver { getProcessedConfig(): webdriver.promise.Promise { 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. * @@ -315,7 +315,7 @@ export class Browser extends Webdriver { * 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 { diff --git a/lib/element.ts b/lib/element.ts index a2656c4c5..f3f4807d4 100644 --- a/lib/element.ts +++ b/lib/element.ts @@ -83,7 +83,7 @@ export class WebdriverWebElement { * }); * * @constructor - * @param {Browser} browser A protractor instance. + * @param {Browser} browser A browser instance. * @param {function(): Array.} getWebElements A function * that returns a list of the underlying Web Elements. * @param {webdriver.Locator} locator The most relevant locator. It is only @@ -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}