Tutorial: Window.navigate

Window.navigate

Navigates the window to a specified URL.

Example

async function navigate() {
    const win = await fin.Window.getCurrent();
    return await win.navigate('https://www.google.com');
}
navigate().then(() => console.log('Navigate to goole')).catch(err => console.log(err));