Skip to main content

Module element_handle

Module element_handle 

Source
Expand description

ElementHandle — a persistent handle to a resolved DOM element (a CDP RemoteObjectId).

Unlike Locator, which resolves lazily on each action, an ElementHandle pins one specific element. Remote objects are GC’d by the browser when their execution context is destroyed (e.g. on navigation); call ElementHandle::dispose to release eagerly.

Structs§

ElementHandle
A handle to a resolved element.

Enums§

ElementState
An element state that ElementHandle::wait_for_element_state can poll for.