Files
enviPy-bayer/static/js/ketcher2/node_modules/webdriverio/lib/protocol/frameParent.js
2025-06-23 20:13:54 +02:00

16 lines
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'
})
}