ProtractorBrowsingSession
Hierarchy
- BrowsingSession<ProtractorPage>
- ProtractorBrowsingSession
Index
Constructors
constructor
Parameters
browser: ProtractorBrowser
Returns ProtractorBrowsingSession
Methods
allPages
Returns Promise<ProtractorPage[]>
changeCurrentPageTo
Parameters
page: ProtractorPage
Returns Promise<void>
currentPage
Returns Promise<ProtractorPage>
browserCapabilities
Returns Promise<BrowserCapabilities>
closePagesOtherThan
Parameters
pageOfInterest: ProtractorPage
Returns Promise<void>
register
Registers specified pages to be managed by this BrowsingSession.
Parameters
rest...pages: ProtractorPage[]
Returns void
deregister
Informs this BrowsingSession that it should no longer manage pages identified by the given
pageIds
.Parameters
rest...pageIds: CorrelationId[]
Returns void
registeredPageIds
Returns the ids of any pages this BrowsingSession is aware of.
Returns CorrelationId[]
closeAllPages
Closes all the pages available in this browsing context
Returns Promise<void>
Protractor-specific implementation of BrowsingSession.