uploadFile
Upload files to a file input element. Upstream docsscrollIntoView
Scroll the element into view. Upstream docsautofill
Test if the form is compatible with browser autofill. Currently supports credit card autofill in Chrome headless/headful only. Upstream docsbackendNodeId
Get the backend node ID (Chrome DevTools Protocol).This value is stable for the lifetime of the node. The SDK caches this value after the first call.
Return value
boundingBox
Get the bounding box of the element. Upstream docsReturn value
boxModel
Get the CSS box model of the element. Upstream docsReturn value
clickablePoint
Get a clickable point within the element. Upstream docsReturn value
contentFrame
Get the content frame for iframe elements. Upstream docsReturn value
frame
Get the owning frame of this element. Upstream docsReturn value
drag
Drag the element to the given target. Upstream docsTarget point or element to drag to.
Return value
dragEnter
Dispatch a dragenter event.Deprecated: dragenter is automatically performed during dragging.
dragOver
Dispatch a dragover event.Deprecated: dragover is automatically performed during dragging.
drop
Drop the given element onto the current one. Upstream docsElement to drop.
touchStart
Start a touch in the center of the element.Scrolls element into view if needed.
Return value
touchMove
Move the touch to the center of the element.Scrolls element into view if needed.
touchEnd
End the first active touch. Upstream docstoElement
Convert to a typed element handle.Throws if the element is not of the specified tag type. Do NOT dispose the original handle - both handles reference the same element.
Return value
asLocator
Create a Locator based on this ElementHandle.This does not refresh the handle if stale, but allows using locator conditions.
Return value
dispose
Dispose of the handle, releasing it from the backend registry.After disposal, any method calls will throw. The SDK sets the disposed flag before the RPC call to prevent race conditions.

