Skip to main content
Version: 16.1.1

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>