puppeteer/docs/api/puppeteer.page.__1.md

22 lines
355 B
Markdown
Raw Normal View History

---
sidebar_label: Page.$_1
---
# Page.$() method
**Signature:**
```typescript
class Page {$(selector: string): Promise<ElementHandle | null>;}
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| selector | string | |
**Returns:**
Promise&lt;[ElementHandle](./puppeteer.elementhandle.md) \| null&gt;