mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-10-30 14:46:24 +00:00
374 B
374 B
sidebar_label
| sidebar_label |
|---|
| JSHandle.asElement |
JSHandle.asElement() method
Either null or the handle itself if the handle is an instance of ElementHandle.
Signature
class JSHandle {
abstract asElement(): ElementHandle<Node> | null;
}
Returns:
ElementHandle<Node> | null