dispatchDragEvent
suspend fun dispatchDragEvent(args: Input.DispatchDragEventParameter, mode: CommandMode = CommandMode.DEFAULT)
Dispatches a drag event into the page.
suspend fun dispatchDragEvent(type: String, x: Double, y: Double, data: Input.DragData, modifiers: Int? = null)
Dispatches a drag event into the page.
Parameters
type
Type of the drag event.
x
X coordinate of the event relative to the main frame's viewport in CSS pixels.
y
Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
data
No description
modifiers
Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).