Skip to main content
Version: 15.4.0

ElementHandle.dragEnter() method

This method creates a dragenter event on the element.

Signature:

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

Parameters

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

Returns:

Promise<void>