Tutorial: Frame.getParentWindow

Frame.getParentWindow

Returns a frame info object for the represented frame

Example

async function getParentWindow() {
    const frm = await fin.Frame.getCurrent();
    return await frm.getParentWindow();
}
getParentWindow().then(winInfo => console.log(winInfo)).catch(err => console.log(err));