Extremely Popular
Go to Latest
method Page.prototype.setDefaultNavigationTimeout
import { Page } from "https://dotland.deno.dev/x/fresh@1.5.2/tests/deps.ts";

This setting will change the default maximum navigation time for the following methods and related shortcuts:

  • {@link Page.goBack | page.goBack(options)}

  • {@link Page.goForward | page.goForward(options)}

  • {@link Page.goto | page.goto(url,options)}

  • {@link Page.reload | page.reload(options)}

  • {@link Page.setContent | page.setContent(html,options)}

  • {@link Page.waitForNavigation | page.waitForNavigation(options)}

Parameters

timeout: number
  • Maximum navigation time in milliseconds.