27 lines
641 B
Markdown
27 lines
641 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [setGeolocation](./puppeteer.page.setgeolocation.md)
|
||
|
|
||
|
## Page.setGeolocation() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
setGeolocation(options: {
|
||
|
longitude: number;
|
||
|
latitude: number;
|
||
|
accuracy?: number;
|
||
|
}): Promise<void>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| options | { longitude: number; latitude: number; accuracy?: number; } | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<void>
|
||
|
|