Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
method Page.prototype.setDefaultNavigationTimeout
Re-export
import { Page } from "https://deno.land/x/fresh@1.4.0/tests/deps.ts";

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

  • Page.goBack | page.goBack(options)

  • Page.goForward | page.goForward(options)

  • Page.goto | page.goto(url,options)

  • Page.reload | page.reload(options)

  • Page.setContent | page.setContent(html,options)

  • Page.waitForNavigation | page.waitForNavigation(options)

Parameters

timeout: number
  • Maximum navigation time in milliseconds.