Back to Puppeteer

GeolocationOptions interface

docs/api/puppeteer.geolocationoptions.md

19.2.2730 B
Original Source

GeolocationOptions interface

Signature

typescript
export interface GeolocationOptions

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead> <tbody><tr><td>

<span id="accuracy">accuracy</span>

</td><td>

optional

</td><td>

number

</td><td>

Optional non-negative accuracy value.

</td><td> </td></tr> <tr><td>

<span id="latitude">latitude</span>

</td><td> </td><td>

number

</td><td>

Longitude between -180 and 180.

</td><td> </td></tr> <tr><td>

<span id="longitude">longitude</span>

</td><td> </td><td>

number

</td><td>

Latitude between -90 and 90.

</td><td> </td></tr> </tbody></table>