f07ad2c661
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
18 lines
281 B
Markdown
18 lines
281 B
Markdown
---
|
|
sidebar_label: ElementHandle.asElement
|
|
---
|
|
|
|
# ElementHandle.asElement() method
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class ElementHandle {
|
|
asElement(): ElementHandle<ElementType> | null;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
[ElementHandle](./puppeteer.elementhandle.md)<ElementType> \| null
|