Safe Haskell | None |
---|---|
Language | Haskell2010 |
Input
Synopsis
- data PInputSynthesizeTapGesture = PInputSynthesizeTapGesture {}
- data PInputSynthesizeScrollGesture = PInputSynthesizeScrollGesture {
- pInputSynthesizeScrollGestureX :: Double
- pInputSynthesizeScrollGestureY :: Double
- pInputSynthesizeScrollGestureXDistance :: Maybe Double
- pInputSynthesizeScrollGestureYDistance :: Maybe Double
- pInputSynthesizeScrollGestureXOverscroll :: Maybe Double
- pInputSynthesizeScrollGestureYOverscroll :: Maybe Double
- pInputSynthesizeScrollGesturePreventFling :: Maybe Bool
- pInputSynthesizeScrollGestureSpeed :: Maybe Int
- pInputSynthesizeScrollGestureGestureSourceType :: Maybe InputGestureSourceType
- pInputSynthesizeScrollGestureRepeatCount :: Maybe Int
- pInputSynthesizeScrollGestureRepeatDelayMs :: Maybe Int
- pInputSynthesizeScrollGestureInteractionMarkerName :: Maybe Text
- data PInputSynthesizePinchGesture = PInputSynthesizePinchGesture {}
- data PInputSetInterceptDrags = PInputSetInterceptDrags {}
- data PInputSetIgnoreInputEvents = PInputSetIgnoreInputEvents {}
- data PInputEmulateTouchFromMouseEvent = PInputEmulateTouchFromMouseEvent {
- pInputEmulateTouchFromMouseEventType :: PInputEmulateTouchFromMouseEventType
- pInputEmulateTouchFromMouseEventX :: Int
- pInputEmulateTouchFromMouseEventY :: Int
- pInputEmulateTouchFromMouseEventButton :: InputMouseButton
- pInputEmulateTouchFromMouseEventTimestamp :: Maybe InputTimeSinceEpoch
- pInputEmulateTouchFromMouseEventDeltaX :: Maybe Double
- pInputEmulateTouchFromMouseEventDeltaY :: Maybe Double
- pInputEmulateTouchFromMouseEventModifiers :: Maybe Int
- pInputEmulateTouchFromMouseEventClickCount :: Maybe Int
- data PInputEmulateTouchFromMouseEventType
- data PInputDispatchTouchEvent = PInputDispatchTouchEvent {}
- data PInputDispatchTouchEventType
- data PInputDispatchMouseEvent = PInputDispatchMouseEvent {
- pInputDispatchMouseEventType :: PInputDispatchMouseEventType
- pInputDispatchMouseEventX :: Double
- pInputDispatchMouseEventY :: Double
- pInputDispatchMouseEventModifiers :: Maybe Int
- pInputDispatchMouseEventTimestamp :: Maybe InputTimeSinceEpoch
- pInputDispatchMouseEventButton :: Maybe InputMouseButton
- pInputDispatchMouseEventButtons :: Maybe Int
- pInputDispatchMouseEventClickCount :: Maybe Int
- pInputDispatchMouseEventForce :: Maybe Double
- pInputDispatchMouseEventTangentialPressure :: Maybe Double
- pInputDispatchMouseEventTiltX :: Maybe Int
- pInputDispatchMouseEventTiltY :: Maybe Int
- pInputDispatchMouseEventTwist :: Maybe Int
- pInputDispatchMouseEventDeltaX :: Maybe Double
- pInputDispatchMouseEventDeltaY :: Maybe Double
- pInputDispatchMouseEventPointerType :: Maybe PInputDispatchMouseEventPointerType
- data PInputDispatchMouseEventPointerType
- data PInputDispatchMouseEventType
- data PInputImeSetComposition = PInputImeSetComposition {}
- data PInputInsertText = PInputInsertText {}
- data PInputDispatchKeyEvent = PInputDispatchKeyEvent {
- pInputDispatchKeyEventType :: PInputDispatchKeyEventType
- pInputDispatchKeyEventModifiers :: Maybe Int
- pInputDispatchKeyEventTimestamp :: Maybe InputTimeSinceEpoch
- pInputDispatchKeyEventText :: Maybe Text
- pInputDispatchKeyEventUnmodifiedText :: Maybe Text
- pInputDispatchKeyEventKeyIdentifier :: Maybe Text
- pInputDispatchKeyEventCode :: Maybe Text
- pInputDispatchKeyEventKey :: Maybe Text
- pInputDispatchKeyEventWindowsVirtualKeyCode :: Maybe Int
- pInputDispatchKeyEventNativeVirtualKeyCode :: Maybe Int
- pInputDispatchKeyEventAutoRepeat :: Maybe Bool
- pInputDispatchKeyEventIsKeypad :: Maybe Bool
- pInputDispatchKeyEventIsSystemKey :: Maybe Bool
- pInputDispatchKeyEventLocation :: Maybe Int
- pInputDispatchKeyEventCommands :: Maybe [Text]
- data PInputDispatchKeyEventType
- data PInputDispatchDragEvent = PInputDispatchDragEvent {}
- data PInputDispatchDragEventType
- data InputDragIntercepted = InputDragIntercepted {}
- data InputDragData = InputDragData {}
- data InputDragDataItem = InputDragDataItem {}
- type InputTimeSinceEpoch = Double
- data InputMouseButton
- data InputGestureSourceType
- data InputTouchPoint = InputTouchPoint {
- inputTouchPointX :: Double
- inputTouchPointY :: Double
- inputTouchPointRadiusX :: Maybe Double
- inputTouchPointRadiusY :: Maybe Double
- inputTouchPointRotationAngle :: Maybe Double
- inputTouchPointForce :: Maybe Double
- inputTouchPointTangentialPressure :: Maybe Double
- inputTouchPointTiltX :: Maybe Int
- inputTouchPointTiltY :: Maybe Int
- inputTouchPointTwist :: Maybe Int
- inputTouchPointId :: Maybe Double
- pInputDispatchDragEvent :: PInputDispatchDragEventType -> Double -> Double -> InputDragData -> PInputDispatchDragEvent
- pInputDispatchKeyEvent :: PInputDispatchKeyEventType -> PInputDispatchKeyEvent
- pInputInsertText :: Text -> PInputInsertText
- pInputImeSetComposition :: Text -> Int -> Int -> PInputImeSetComposition
- pInputDispatchMouseEvent :: PInputDispatchMouseEventType -> Double -> Double -> PInputDispatchMouseEvent
- pInputDispatchTouchEvent :: PInputDispatchTouchEventType -> [InputTouchPoint] -> PInputDispatchTouchEvent
- pInputEmulateTouchFromMouseEvent :: PInputEmulateTouchFromMouseEventType -> Int -> Int -> InputMouseButton -> PInputEmulateTouchFromMouseEvent
- pInputSetIgnoreInputEvents :: Bool -> PInputSetIgnoreInputEvents
- pInputSetInterceptDrags :: Bool -> PInputSetInterceptDrags
- pInputSynthesizePinchGesture :: Double -> Double -> Double -> PInputSynthesizePinchGesture
- pInputSynthesizeScrollGesture :: Double -> Double -> PInputSynthesizeScrollGesture
- pInputSynthesizeTapGesture :: Double -> Double -> PInputSynthesizeTapGesture
Documentation
data PInputSynthesizeTapGesture Source #
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
Parameters of the synthesizeTapGesture
command.
PInputSynthesizeTapGesture | |
|
Instances
Eq PInputSynthesizeTapGesture Source # | |
Defined in CDP.Domains.Input | |
Show PInputSynthesizeTapGesture Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputSynthesizeTapGesture -> ShowS # show :: PInputSynthesizeTapGesture -> String # showList :: [PInputSynthesizeTapGesture] -> ShowS # | |
ToJSON PInputSynthesizeTapGesture Source # | |
Defined in CDP.Domains.Input | |
Command PInputSynthesizeTapGesture Source # | |
type CommandResponse PInputSynthesizeTapGesture Source # | |
Defined in CDP.Domains.Input |
data PInputSynthesizeScrollGesture Source #
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
Parameters of the synthesizeScrollGesture
command.
PInputSynthesizeScrollGesture | |
|
Instances
Eq PInputSynthesizeScrollGesture Source # | |
Defined in CDP.Domains.Input | |
Show PInputSynthesizeScrollGesture Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputSynthesizeScrollGesture -> ShowS # show :: PInputSynthesizeScrollGesture -> String # showList :: [PInputSynthesizeScrollGesture] -> ShowS # | |
ToJSON PInputSynthesizeScrollGesture Source # | |
Defined in CDP.Domains.Input | |
Command PInputSynthesizeScrollGesture Source # | |
type CommandResponse PInputSynthesizeScrollGesture Source # | |
Defined in CDP.Domains.Input |
data PInputSynthesizePinchGesture Source #
Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
Parameters of the synthesizePinchGesture
command.
PInputSynthesizePinchGesture | |
|
Instances
Eq PInputSynthesizePinchGesture Source # | |
Defined in CDP.Domains.Input | |
Show PInputSynthesizePinchGesture Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputSynthesizePinchGesture -> ShowS # show :: PInputSynthesizePinchGesture -> String # showList :: [PInputSynthesizePinchGesture] -> ShowS # | |
ToJSON PInputSynthesizePinchGesture Source # | |
Defined in CDP.Domains.Input | |
Command PInputSynthesizePinchGesture Source # | |
type CommandResponse PInputSynthesizePinchGesture Source # | |
Defined in CDP.Domains.Input |
data PInputSetInterceptDrags Source #
Prevents default drag and drop behavior and instead emits dragIntercepted
events.
Drag and drop behavior can be directly controlled via dispatchDragEvent
.
Parameters of the setInterceptDrags
command.
Instances
Eq PInputSetInterceptDrags Source # | |
Defined in CDP.Domains.Input | |
Show PInputSetInterceptDrags Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputSetInterceptDrags -> ShowS # show :: PInputSetInterceptDrags -> String # showList :: [PInputSetInterceptDrags] -> ShowS # | |
ToJSON PInputSetInterceptDrags Source # | |
Defined in CDP.Domains.Input | |
Command PInputSetInterceptDrags Source # | |
type CommandResponse PInputSetInterceptDrags Source # | |
Defined in CDP.Domains.Input |
data PInputSetIgnoreInputEvents Source #
Ignores input events (useful while auditing page).
Parameters of the setIgnoreInputEvents
command.
PInputSetIgnoreInputEvents | |
|
Instances
Eq PInputSetIgnoreInputEvents Source # | |
Defined in CDP.Domains.Input | |
Show PInputSetIgnoreInputEvents Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputSetIgnoreInputEvents -> ShowS # show :: PInputSetIgnoreInputEvents -> String # showList :: [PInputSetIgnoreInputEvents] -> ShowS # | |
ToJSON PInputSetIgnoreInputEvents Source # | |
Defined in CDP.Domains.Input | |
Command PInputSetIgnoreInputEvents Source # | |
type CommandResponse PInputSetIgnoreInputEvents Source # | |
Defined in CDP.Domains.Input |
data PInputEmulateTouchFromMouseEvent Source #
PInputEmulateTouchFromMouseEvent | |
|
Instances
data PInputEmulateTouchFromMouseEventType Source #
Emulates touch event from the mouse event parameters.
Parameters of the emulateTouchFromMouseEvent
command.
PInputEmulateTouchFromMouseEventTypeMousePressed | |
PInputEmulateTouchFromMouseEventTypeMouseReleased | |
PInputEmulateTouchFromMouseEventTypeMouseMoved | |
PInputEmulateTouchFromMouseEventTypeMouseWheel |
Instances
data PInputDispatchTouchEvent Source #
PInputDispatchTouchEvent | |
|
Instances
Eq PInputDispatchTouchEvent Source # | |
Defined in CDP.Domains.Input | |
Show PInputDispatchTouchEvent Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputDispatchTouchEvent -> ShowS # show :: PInputDispatchTouchEvent -> String # showList :: [PInputDispatchTouchEvent] -> ShowS # | |
ToJSON PInputDispatchTouchEvent Source # | |
Defined in CDP.Domains.Input | |
Command PInputDispatchTouchEvent Source # | |
type CommandResponse PInputDispatchTouchEvent Source # | |
Defined in CDP.Domains.Input |
data PInputDispatchTouchEventType Source #
Dispatches a touch event to the page.
Parameters of the dispatchTouchEvent
command.
PInputDispatchTouchEventTypeTouchStart | |
PInputDispatchTouchEventTypeTouchEnd | |
PInputDispatchTouchEventTypeTouchMove | |
PInputDispatchTouchEventTypeTouchCancel |
Instances
data PInputDispatchMouseEvent Source #
PInputDispatchMouseEvent | |
|
Instances
Eq PInputDispatchMouseEvent Source # | |
Defined in CDP.Domains.Input | |
Show PInputDispatchMouseEvent Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputDispatchMouseEvent -> ShowS # show :: PInputDispatchMouseEvent -> String # showList :: [PInputDispatchMouseEvent] -> ShowS # | |
ToJSON PInputDispatchMouseEvent Source # | |
Defined in CDP.Domains.Input | |
Command PInputDispatchMouseEvent Source # | |
type CommandResponse PInputDispatchMouseEvent Source # | |
Defined in CDP.Domains.Input |
data PInputDispatchMouseEventPointerType Source #
Instances
data PInputDispatchMouseEventType Source #
Dispatches a mouse event to the page.
Parameters of the dispatchMouseEvent
command.
PInputDispatchMouseEventTypeMousePressed | |
PInputDispatchMouseEventTypeMouseReleased | |
PInputDispatchMouseEventTypeMouseMoved | |
PInputDispatchMouseEventTypeMouseWheel |
Instances
data PInputImeSetComposition Source #
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.
Parameters of the imeSetComposition
command.
PInputImeSetComposition | |
|
Instances
Eq PInputImeSetComposition Source # | |
Defined in CDP.Domains.Input | |
Show PInputImeSetComposition Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputImeSetComposition -> ShowS # show :: PInputImeSetComposition -> String # showList :: [PInputImeSetComposition] -> ShowS # | |
ToJSON PInputImeSetComposition Source # | |
Defined in CDP.Domains.Input | |
Command PInputImeSetComposition Source # | |
type CommandResponse PInputImeSetComposition Source # | |
Defined in CDP.Domains.Input |
data PInputInsertText Source #
This method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME.
Parameters of the insertText
command.
PInputInsertText | |
|
Instances
Eq PInputInsertText Source # | |
Defined in CDP.Domains.Input (==) :: PInputInsertText -> PInputInsertText -> Bool # (/=) :: PInputInsertText -> PInputInsertText -> Bool # | |
Show PInputInsertText Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputInsertText -> ShowS # show :: PInputInsertText -> String # showList :: [PInputInsertText] -> ShowS # | |
ToJSON PInputInsertText Source # | |
Defined in CDP.Domains.Input toJSON :: PInputInsertText -> Value # toEncoding :: PInputInsertText -> Encoding # toJSONList :: [PInputInsertText] -> Value # toEncodingList :: [PInputInsertText] -> Encoding # | |
Command PInputInsertText Source # | |
Defined in CDP.Domains.Input | |
type CommandResponse PInputInsertText Source # | |
Defined in CDP.Domains.Input |
data PInputDispatchKeyEvent Source #
PInputDispatchKeyEvent | |
|
Instances
Eq PInputDispatchKeyEvent Source # | |
Defined in CDP.Domains.Input | |
Show PInputDispatchKeyEvent Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputDispatchKeyEvent -> ShowS # show :: PInputDispatchKeyEvent -> String # showList :: [PInputDispatchKeyEvent] -> ShowS # | |
ToJSON PInputDispatchKeyEvent Source # | |
Defined in CDP.Domains.Input toJSON :: PInputDispatchKeyEvent -> Value # toEncoding :: PInputDispatchKeyEvent -> Encoding # toJSONList :: [PInputDispatchKeyEvent] -> Value # | |
Command PInputDispatchKeyEvent Source # | |
Defined in CDP.Domains.Input | |
type CommandResponse PInputDispatchKeyEvent Source # | |
Defined in CDP.Domains.Input |
data PInputDispatchKeyEventType Source #
Dispatches a key event to the page.
Parameters of the dispatchKeyEvent
command.
PInputDispatchKeyEventTypeKeyDown | |
PInputDispatchKeyEventTypeKeyUp | |
PInputDispatchKeyEventTypeRawKeyDown | |
PInputDispatchKeyEventTypeChar |
Instances
data PInputDispatchDragEvent Source #
PInputDispatchDragEvent | |
|
Instances
Eq PInputDispatchDragEvent Source # | |
Defined in CDP.Domains.Input | |
Show PInputDispatchDragEvent Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> PInputDispatchDragEvent -> ShowS # show :: PInputDispatchDragEvent -> String # showList :: [PInputDispatchDragEvent] -> ShowS # | |
ToJSON PInputDispatchDragEvent Source # | |
Defined in CDP.Domains.Input | |
Command PInputDispatchDragEvent Source # | |
type CommandResponse PInputDispatchDragEvent Source # | |
Defined in CDP.Domains.Input |
data PInputDispatchDragEventType Source #
Dispatches a drag event into the page.
Parameters of the dispatchDragEvent
command.
PInputDispatchDragEventTypeDragEnter | |
PInputDispatchDragEventTypeDragOver | |
PInputDispatchDragEventTypeDrop | |
PInputDispatchDragEventTypeDragCancel |
Instances
data InputDragIntercepted Source #
Type of the dragIntercepted
event.
Instances
Eq InputDragIntercepted Source # | |
Defined in CDP.Domains.Input (==) :: InputDragIntercepted -> InputDragIntercepted -> Bool # (/=) :: InputDragIntercepted -> InputDragIntercepted -> Bool # | |
Show InputDragIntercepted Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> InputDragIntercepted -> ShowS # show :: InputDragIntercepted -> String # showList :: [InputDragIntercepted] -> ShowS # | |
FromJSON InputDragIntercepted Source # | |
Defined in CDP.Domains.Input parseJSON :: Value -> Parser InputDragIntercepted # parseJSONList :: Value -> Parser [InputDragIntercepted] # | |
Event InputDragIntercepted Source # | |
Defined in CDP.Domains.Input |
data InputDragData Source #
Type DragData
.
InputDragData | |
|
Instances
Eq InputDragData Source # | |
Defined in CDP.Domains.Input (==) :: InputDragData -> InputDragData -> Bool # (/=) :: InputDragData -> InputDragData -> Bool # | |
Show InputDragData Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> InputDragData -> ShowS # show :: InputDragData -> String # showList :: [InputDragData] -> ShowS # | |
ToJSON InputDragData Source # | |
Defined in CDP.Domains.Input toJSON :: InputDragData -> Value # toEncoding :: InputDragData -> Encoding # toJSONList :: [InputDragData] -> Value # toEncodingList :: [InputDragData] -> Encoding # | |
FromJSON InputDragData Source # | |
Defined in CDP.Domains.Input parseJSON :: Value -> Parser InputDragData # parseJSONList :: Value -> Parser [InputDragData] # |
data InputDragDataItem Source #
Type DragDataItem
.
InputDragDataItem | |
|
Instances
Eq InputDragDataItem Source # | |
Defined in CDP.Domains.Input (==) :: InputDragDataItem -> InputDragDataItem -> Bool # (/=) :: InputDragDataItem -> InputDragDataItem -> Bool # | |
Show InputDragDataItem Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> InputDragDataItem -> ShowS # show :: InputDragDataItem -> String # showList :: [InputDragDataItem] -> ShowS # | |
ToJSON InputDragDataItem Source # | |
Defined in CDP.Domains.Input toJSON :: InputDragDataItem -> Value # toEncoding :: InputDragDataItem -> Encoding # toJSONList :: [InputDragDataItem] -> Value # toEncodingList :: [InputDragDataItem] -> Encoding # | |
FromJSON InputDragDataItem Source # | |
Defined in CDP.Domains.Input parseJSON :: Value -> Parser InputDragDataItem # parseJSONList :: Value -> Parser [InputDragDataItem] # |
type InputTimeSinceEpoch = Double Source #
Type TimeSinceEpoch
.
UTC time in seconds, counted from January 1, 1970.
data InputMouseButton Source #
Type MouseButton
.
InputMouseButtonNone | |
InputMouseButtonLeft | |
InputMouseButtonMiddle | |
InputMouseButtonRight | |
InputMouseButtonBack | |
InputMouseButtonForward |
Instances
data InputGestureSourceType Source #
Type GestureSourceType
.
Instances
data InputTouchPoint Source #
Type TouchPoint
.
InputTouchPoint | |
|
Instances
Eq InputTouchPoint Source # | |
Defined in CDP.Domains.Input (==) :: InputTouchPoint -> InputTouchPoint -> Bool # (/=) :: InputTouchPoint -> InputTouchPoint -> Bool # | |
Show InputTouchPoint Source # | |
Defined in CDP.Domains.Input showsPrec :: Int -> InputTouchPoint -> ShowS # show :: InputTouchPoint -> String # showList :: [InputTouchPoint] -> ShowS # | |
ToJSON InputTouchPoint Source # | |
Defined in CDP.Domains.Input toJSON :: InputTouchPoint -> Value # toEncoding :: InputTouchPoint -> Encoding # toJSONList :: [InputTouchPoint] -> Value # toEncodingList :: [InputTouchPoint] -> Encoding # | |
FromJSON InputTouchPoint Source # | |
Defined in CDP.Domains.Input parseJSON :: Value -> Parser InputTouchPoint # parseJSONList :: Value -> Parser [InputTouchPoint] # |
pInputDispatchDragEvent :: PInputDispatchDragEventType -> Double -> Double -> InputDragData -> PInputDispatchDragEvent Source #
pInputImeSetComposition :: Text -> Int -> Int -> PInputImeSetComposition Source #
pInputDispatchMouseEvent :: PInputDispatchMouseEventType -> Double -> Double -> PInputDispatchMouseEvent Source #
pInputDispatchTouchEvent :: PInputDispatchTouchEventType -> [InputTouchPoint] -> PInputDispatchTouchEvent Source #