Skip to main content
Version: 21.6.1

Mouse.drop() method

Performs a dragenter, dragover, and drop in sequence.

Signature:

class Mouse {
abstract 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>