externalWebdriverIOBrowsingSession
Hierarchy
- BrowsingSession<WebdriverIOPage>
- WebdriverIOBrowsingSession
Implements
Index
Constructors
externalconstructor
Parameters
externalbrowser: Browser
Returns WebdriverIOBrowsingSession
Methods
externalclosePagesOtherThan
Parameters
externalpageOfInterest: WebdriverIOPage
Returns Promise<void>
externalregister
Registers specified pages to be managed by this
BrowsingSession
.Parameters
externalrest...pages: WebdriverIOPage[]
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>
externalallPages
Returns Promise<WebdriverIOPage[]>
externalchangeCurrentPageTo
Parameters
externalpage: WebdriverIOPage
Returns Promise<void>
externalcurrentPage
Returns Promise<WebdriverIOPage>
externalbrowserCapabilities
Returns Promise<BrowserCapabilities>
externaldiscard
Returns Promise<void>
WebdriverIO-specific implementation of
BrowsingSession
.