mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
086c08998b
This adds the new docs that are generated by API Extractor via TSDoc. They are sparse because we do not yet use TSDoc in the codebase. This is the starting point and from here we can work through all the different classes and improve the documentation.
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>
|
|
|