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#setGeolocation

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

Sets the page's geolocation.

Examples

Example 1

await page.setGeolocation({latitude: 59.95, longitude: 30.31667});

Parameters

options: GeolocationOptions

Returns

Promise<void>