Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh/tests/deps.ts>Page#goto

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.goto
Re-export
import { Page } from "https://deno.land/x/fresh@1.6.1/tests/deps.ts";

Parameters

url: string
  • URL to navigate page to. The URL should include scheme, e.g. https://
optional
options: WaitForOptions & { referer?: string; }
  • Navigation Parameter

Returns

Promise<HTTPResponse | null>

Promise which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect.