Skip to main content
Version: 21.1.0

Mouse.drop() method

Performs a dragenter, dragover, and drop in sequence.

Signature:

class Mouse {
drop(target: Point, data: Protocol.Input.DragData): Promise<void>;
}

Parameters

ParameterTypeDescription
targetPointpoint to drop on
dataProtocol.Input.DragDatadrag data containing items and operations mask

Returns:

Promise<void>