Playwright · Class
ElementHandle
ElementHandle represents one DOM element in a page. Playwright discourages it for most tests; use Locator objects and web-first assertions instead.
Last updated
- Since
- before v1.9
Syntax
class ElementHandle extends JSHandleIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
JSHandleLocatorboundingBoxcontentFrameownerFramewaitForElementStatepage.$locator.click