Change focus to the parent context. If the current context is the top level browsing context, the context remains unchanged.

Usage

Example

 this.demoTest = function (browser) {
   browser.frameParent(function(result) {
     console.log(result);
   });
}

Parameters

Name Type description
callback
Optional
function

Optional callback function to be called when the command finishes.

W3C WebDriver spec