puppeteer/new-docs/puppeteer.page.focus.md
Jack Franklin 086c08998b
chore: commit base new-docs (#5973)
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.
2020-06-04 15:56:45 +01:00

23 lines
469 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [focus](./puppeteer.page.focus.md)
## Page.focus() method
<b>Signature:</b>
```typescript
focus(selector: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| selector | string | |
<b>Returns:</b>
Promise&lt;void&gt;