webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
16 lines (14 loc) • 411 B
JavaScript
/**
* Change focus to the parent context. If the current context is the top level browsing context,
* the context remains unchanged.
*
* @see https://w3c.github.io/webdriver/webdriver-spec.html#switch-to-parent-frame
* @type protocol
*
*/
export default function frameParent () {
return this.requestHandler.create({
path: '/session/:sessionId/frame/parent',
method: 'POST'
})
}