diff --git a/src/common/Input.ts b/src/common/Input.ts index 620e387780f..e3506cf3e54 100644 --- a/src/common/Input.ts +++ b/src/common/Input.ts @@ -508,6 +508,7 @@ export class Mouse { /** * Dispatches a `dragenter` event. * @param target - point for emitting `dragenter` event + * @param data - drag data containing items and operations mask */ async dragEnter(target: Point, data: Protocol.Input.DragData): Promise { await this._client.send('Input.dispatchDragEvent', { @@ -522,6 +523,7 @@ export class Mouse { /** * Dispatches a `dragover` event. * @param target - point for emitting `dragover` event + * @param data - drag data containing items and operations mask */ async dragOver(target: Point, data: Protocol.Input.DragData): Promise { await this._client.send('Input.dispatchDragEvent', { @@ -537,9 +539,6 @@ export class Mouse { * Performs a dragenter, dragover, and drop in sequence. * @param target - point to drop on * @param data - drag data containing items and operations mask - * @param options - An object of options. Accepts delay which, - * if specified, is the time to wait between `dragover` and `drop` in milliseconds. - * Defaults to 0. */ async drop(target: Point, data: Protocol.Input.DragData): Promise { await this._client.send('Input.dispatchDragEvent', {