package
0.0.0-20200525080501-418ac89e6fd2
Repository: https://github.com/bootgo/cdproto.git
Documentation: pkg.go.dev

# Functions

DispatchKeyEvent dispatches a key event to the page.
DispatchMouseEvent dispatches a mouse event to the page.
DispatchTouchEvent dispatches a touch event to the page.
EmulateTouchFromMouseEvent emulates touch event from the mouse event parameters.
InsertText this method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME.
SetIgnoreInputEvents ignores input events (useful while auditing page).
SynthesizePinchGesture synthesizes a pinch gesture over a time period by issuing appropriate touch events.
SynthesizeScrollGesture synthesizes a scroll gesture over a time period by issuing appropriate touch events.
SynthesizeTapGesture synthesizes a tap gesture over a time period by issuing appropriate touch events.

# Constants

ButtonType values.
ButtonType values.
ButtonType values.
ButtonType values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
GestureType values.
GestureType values.
GestureType values.
KeyType values.
KeyType values.
KeyType values.
KeyType values.
Modifier values.
ModifierCommand is an alias for ModifierMeta.
Modifier values.
Modifier values.
Modifier values.
Modifier values.
MouseType values.
MouseType values.
MouseType values.
MouseType values.
TouchType values.
TouchType values.
TouchType values.
TouchType values.

# Structs

DispatchKeyEventParams dispatches a key event to the page.
DispatchMouseEventParams dispatches a mouse event to the page.
DispatchTouchEventParams dispatches a touch event to the page.
EmulateTouchFromMouseEventParams emulates touch event from the mouse event parameters.
InsertTextParams this method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME.
SetIgnoreInputEventsParams ignores input events (useful while auditing page).
SynthesizePinchGestureParams synthesizes a pinch gesture over a time period by issuing appropriate touch events.
SynthesizeScrollGestureParams synthesizes a scroll gesture over a time period by issuing appropriate touch events.
SynthesizeTapGestureParams synthesizes a tap gesture over a time period by issuing appropriate touch events.
TouchPoint [no description].

# Type aliases

ButtonType mouse button (default: "none").
GestureType [no description].
KeyType type of the key event.
Modifier input key modifier type.
MouseType type of the mouse event.
TimeSinceEpoch UTC time in seconds, counted from January 1, 1970.
TouchType type of the touch event.