Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

1.3 KiB

sidebar_label
sidebar_label
ElementHandle.drop

ElementHandle.drop() method

drop(): Promise<void>

Drops the given element onto the current one.

Signature

class ElementHandle {
  drop(
    this: ElementHandle<Element>,
    element: ElementHandle<Element>,
  ): Promise<void>;
}

Parameters

Parameter

Type

Description

this

ElementHandle<Element>

element

ElementHandle<Element>

Returns:

Promise<void>

drop(): Promise<void>

Warning: This API is now obsolete.

No longer supported.

Signature

class ElementHandle {
  drop(
    this: ElementHandle<Element>,
    data?: Protocol.Input.DragData,
  ): Promise<void>;
}

Parameters

Parameter

Type

Description

this

ElementHandle<Element>

data

Protocol.Input.DragData

(Optional)

Returns:

Promise<void>