UNPKG

@christian-bromann/webdriverio

Version:

A nodejs bindings implementation for selenium 2.0/webdriver

18 lines (15 loc) 430 B
/** * 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 * */ let frameParent = function () { return this.requestHandler.create({ path: '/session/:sessionId/frame/parent', method: 'POST' }) } export default frameParent