Members
FinderClass
nativeObject
socket
window
Methods
_waitForDialog() → {Promise.<string>}
Returns:
resolved by confirm message
- Type
- Promise.<string>
executeJavaScript() → {Promise.<(string|number|boolean)>}
Returns:
- Type
- Promise.<(string|number|boolean)>
getURL() → {string}
Returns:
- Type
- string
isClosed() → {boolean}
Returns:
whether this page has been closed
- Type
- boolean
loadURL() → {Promise.<BrowserPage>}
Returns:
- Type
- Promise.<BrowserPage>
openDevTools()
- Description:
show developer tool, not supported yet.
- Source:
reload() → {Promise.<object>}
Returns:
- Type
- Promise.<object>
waitForAlert() → {Promise.<string>}
Returns:
resolved by alert message
- Type
- Promise.<string>
waitForConfirm() → {Promise.<string>}
Returns:
resolved by confirm message
- Type
- Promise.<string>
waitForDownload() → {Promise.<object>}
- Description:
Wait for download completion caused by the given action. "attachment" is handled with playwright's first-class download event, "inline" is handled by saving the response body.
- Source:
Returns:
- Type
- Promise.<object>