chromiumoxide::cdp::browser_protocol

Module input

Source

Structs§

CancelDraggingParams
Cancels any active dragging in the page. cancelDragging
CancelDraggingReturns
Cancels any active dragging in the page. cancelDragging
DispatchDragEventParams
Dispatches a drag event into the page. dispatchDragEvent
DispatchDragEventParamsBuilder
DispatchDragEventReturns
Dispatches a drag event into the page. dispatchDragEvent
DispatchKeyEventParams
Dispatches a key event to the page. dispatchKeyEvent
DispatchKeyEventParamsBuilder
DispatchKeyEventReturns
Dispatches a key event to the page. dispatchKeyEvent
DispatchMouseEventParams
Dispatches a mouse event to the page. dispatchMouseEvent
DispatchMouseEventParamsBuilder
DispatchMouseEventReturns
Dispatches a mouse event to the page. dispatchMouseEvent
DispatchTouchEventParams
Dispatches a touch event to the page. dispatchTouchEvent
DispatchTouchEventParamsBuilder
DispatchTouchEventReturns
Dispatches a touch event to the page. dispatchTouchEvent
DragData
DragDataBuilder
DragDataItem
DragDataItemBuilder
EmulateTouchFromMouseEventParams
Emulates touch event from the mouse event parameters. emulateTouchFromMouseEvent
EmulateTouchFromMouseEventParamsBuilder
EmulateTouchFromMouseEventReturns
Emulates touch event from the mouse event parameters. emulateTouchFromMouseEvent
EventDragIntercepted
Emitted only when Input.setInterceptDrags is enabled. Use this data with Input.dispatchDragEvent to restore normal drag and drop behavior. dragIntercepted
ImeSetCompositionParams
This method sets the current candidate text for IME. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition. imeSetComposition
ImeSetCompositionParamsBuilder
ImeSetCompositionReturns
This method sets the current candidate text for IME. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition. imeSetComposition
InsertTextParams
This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME. insertText
InsertTextParamsBuilder
InsertTextReturns
This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME. insertText
SetIgnoreInputEventsParams
Ignores input events (useful while auditing page). setIgnoreInputEvents
SetIgnoreInputEventsParamsBuilder
SetIgnoreInputEventsReturns
Ignores input events (useful while auditing page). setIgnoreInputEvents
SetInterceptDragsParams
Prevents default drag and drop behavior and instead emits Input.dragIntercepted events. Drag and drop behavior can be directly controlled via Input.dispatchDragEvent. setInterceptDrags
SetInterceptDragsParamsBuilder
SetInterceptDragsReturns
Prevents default drag and drop behavior and instead emits Input.dragIntercepted events. Drag and drop behavior can be directly controlled via Input.dispatchDragEvent. setInterceptDrags
SynthesizePinchGestureParams
Synthesizes a pinch gesture over a time period by issuing appropriate touch events. synthesizePinchGesture
SynthesizePinchGestureParamsBuilder
SynthesizePinchGestureReturns
Synthesizes a pinch gesture over a time period by issuing appropriate touch events. synthesizePinchGesture
SynthesizeScrollGestureParams
Synthesizes a scroll gesture over a time period by issuing appropriate touch events. synthesizeScrollGesture
SynthesizeScrollGestureParamsBuilder
SynthesizeScrollGestureReturns
Synthesizes a scroll gesture over a time period by issuing appropriate touch events. synthesizeScrollGesture
SynthesizeTapGestureParams
Synthesizes a tap gesture over a time period by issuing appropriate touch events. synthesizeTapGesture
SynthesizeTapGestureParamsBuilder
SynthesizeTapGestureReturns
Synthesizes a tap gesture over a time period by issuing appropriate touch events. synthesizeTapGesture
TimeSinceEpoch
UTC time in seconds, counted from January 1, 1970. TimeSinceEpoch
TouchPoint
TouchPointBuilder

Enums§

DispatchDragEventType
Type of the drag event.
DispatchKeyEventType
Type of the key event.
DispatchMouseEventPointerType
Pointer type (default: “mouse”).
DispatchMouseEventType
Type of the mouse event.
DispatchTouchEventType
Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one.
EmulateTouchFromMouseEventType
Type of the mouse event.
GestureSourceType
MouseButton