webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
15 lines (13 loc) • 299 B
JavaScript
/**
*
* Get the current page source.
*
* @return {String} The current page source.
*
* @see https://w3c.github.io/webdriver/webdriver-spec.html#get-page-source
* @type protocol
*
*/
export default function source () {
return this.requestHandler.create('/session/:sessionId/source')
}