drop method

Future<void> drop(
  1. DragData data
)

This method triggers a drop on the element.

Implementation

Future<void> drop(DragData data) async {
  await _scrollIntoViewIfNeeded();
  var destination = await _clickablePoint();
  await page.mouse.drop(destination, data);
}