Skip to main content
Version: Next

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>