Skip to main content
Version: 17.1.0

ElementHandle.drop() method

This method triggers a drop on the element.

Signature:

class ElementHandle {
drop(
this: ElementHandle<Element>,
data?: Protocol.Input.DragData
): Promise<void>;
}

Parameters

ParameterTypeDescription
thisElementHandle<Element>
dataProtocol.Input.DragData(Optional)

Returns:

Promise<void>