Module protractor

Index

Variables

Modules

Interfaces

Classes

Functions

Variables

By: IProtractorLocatorStrategy

Functions

getInstance(): Protractor

Get the singleton instance.

Returns

Protractor

setInstance(ptor: Protractor)

Set a singleton instance of protractor.

Parameters

wrapDriver(webdriver: WebDriver, opt_baseUrl?: string, opt_rootElement?: string): Protractor

Create a new instance of Protractor by wrapping a webdriver instance.

Parameters

  • webdriver: WebDriver

    The configured webdriver instance.

  • opt_baseUrl?: string optional

    A URL to prepend to relative gets.

  • opt_rootElement?: string optional

Returns

Protractor