chore: implement simple BiDi ElementHandle (#9753)

This commit is contained in:
Nikolay Vitkov
2023-03-01 11:09:17 +01:00
committed by GitHub
parent 232873ae76
commit 004a99aaef
8 changed files with 177 additions and 112 deletions

View File

@@ -8,10 +8,10 @@ sidebar_label: ElementHandle.asElement
```typescript
class ElementHandle {
asElement(): ElementHandle<ElementType> | null;
asElement(): ElementHandle<ElementType>;
}
```
**Returns:**
[ElementHandle](./puppeteer.elementhandle.md)&lt;ElementType&gt; \| null
[ElementHandle](./puppeteer.elementhandle.md)&lt;ElementType&gt;