Skip to main content
Version: Next

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>