Navigate

Navigates to the specified URL.

t.navigateTo( url )
Parameter Type Description
url String The URL to navigate to. Absolute or relative to the current page.

The following example shows how to use the t.navigateTo action.

fixture `My fixture`
    .page `http://www.example.com/`;

test('Navigate to the main page', async t => {
    await t
        .click('#submit-button')
        .navigateTo('http://devexpress.github.io/testcafe');
});