Skip to main content
Version: 21.7.0

ElementHandle.drop() method

Drops the given element onto the current one.

Signature:

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

Parameters

ParameterTypeDescription
thisElementHandle<Element>
elementElementHandle<Element>

Returns:

Promise<void>