forked from enviPath/enviPy
Current Dev State
This commit is contained in:
15
static/js/ketcher2/node_modules/webdriverio/lib/protocol/screenshot.js
generated
vendored
Normal file
15
static/js/ketcher2/node_modules/webdriverio/lib/protocol/screenshot.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
*
|
||||
* Take a screenshot of the current viewport. To get the screenshot of the whole page
|
||||
* use the action command `saveScreenshot`
|
||||
*
|
||||
* @return {String} screenshot The screenshot as a base64 encoded PNG.
|
||||
*
|
||||
* @see https://w3c.github.io/webdriver/webdriver-spec.html#take-screenshot
|
||||
* @type protocol
|
||||
*
|
||||
*/
|
||||
|
||||
export default function screenshot () {
|
||||
return this.requestHandler.create('/session/:sessionId/screenshot')
|
||||
}
|
||||
Reference in New Issue
Block a user