Skip to main content
Version: 17.1.3

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>