.frameParent() Suggest edits
Since: v0.4.8Change focus to the parent context. If the current context is the top level browsing context, the context remains unchanged.
Usage
Parameters
Name | Type | description |
---|---|---|
callback Optional |
function | Optional callback function to be called when the command finishes. |
Example
this.demoTest = function (browser) {
browser.frameParent(function(result) {
console.log(result);
});
}