Skip to main content
Version: 16.2.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>