mokr.input.touchscreen ====================== .. py:module:: mokr.input.touchscreen Classes ------- .. autoapisummary:: mokr.input.touchscreen.Touchscreen Module Contents --------------- .. py:class:: Touchscreen(client: mokr.connection.DevtoolsConnection, keyboard: mokr.input.keyboard.Keyboard) Class to emulate touchscreen. :param client: Remote `DevtoolsConnection` instance. :type client: DevtoolsConnection :param keyboard: Active `mokr.input.Keyboard` from the parent `mokr.input.Keyboard`. Passes active modifiers such as CTRL. :type keyboard: Keyboard .. py:method:: tap(x: float, y: float) -> None :async: Send touch down and up events to the center of the target coordinates. :param x: X coordinate to move to. :type x: float :param y: Y coordinate to move to. :type y: float