externalProtractorBrowsingSession
Hierarchy
- BrowsingSession<ProtractorPage>
- ProtractorBrowsingSession
Index
Constructors
externalconstructor
Parameters
externalbrowser: ProtractorBrowser
Returns ProtractorBrowsingSession
Methods
externalallPages
Returns Promise<ProtractorPage[]>
externalchangeCurrentPageTo
Parameters
externalpage: ProtractorPage
Returns Promise<void>
externalcurrentPage
Returns Promise<ProtractorPage>
externalbrowserCapabilities
Returns Promise<BrowserCapabilities>
externalclosePagesOtherThan
Parameters
externalpageOfInterest: ProtractorPage
Returns Promise<void>
externalregister
Registers specified pages to be managed by this
BrowsingSession
.Parameters
externalrest...pages: ProtractorPage[]
Returns void
externalderegister
Informs this
BrowsingSession
that it should no longer manage pages identified by the givenpageIds
.Parameters
externalrest...pageIds: CorrelationId[]
Returns void
externalregisteredPageIds
Returns the ids of any pages this
BrowsingSession
is aware of.Returns CorrelationId[]
externalcloseAllPages
Closes all the pages available in this browsing context
Returns Promise<void>
Protractor-specific implementation of
BrowsingSession
.