forked from enviPath/enviPy
16 lines
411 B
JavaScript
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'
|
|
})
|
|
}
|