Expand description
The Input domain.
Method names for the Input domain, for use with
CdpClient::call.
Constants§
- CANCEL_
DRAGGING - Cancels any active dragging in the page.
- DISPATCH_
DRAG_ EVENT - Dispatches a drag event into the page.
- DISPATCH_
KEY_ EVENT - Dispatches a key event to the page.
- DISPATCH_
MOUSE_ EVENT - Dispatches a mouse event to the page.
- DISPATCH_
TOUCH_ EVENT - Dispatches a touch event to the page.
- EMULATE_
TOUCH_ FROM_ MOUSE_ EVENT - Emulates touch event from the mouse event parameters.
- IME_
SET_ COMPOSITION - 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.
- INSERT_
TEXT - This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME.
- SET_
IGNORE_ INPUT_ EVENTS - Ignores input events (useful while auditing page).
- SET_
INTERCEPT_ DRAGS - Prevents default drag and drop behavior and instead emits
Input.dragInterceptedevents. Drag and drop behavior can be directly controlled viaInput.dispatchDragEvent. - SYNTHESIZE_
PINCH_ GESTURE - Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
- SYNTHESIZE_
SCROLL_ GESTURE - Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
- SYNTHESIZE_
TAP_ GESTURE - Synthesizes a tap gesture over a time period by issuing appropriate touch events.