def click(self, pos):
if not (<NUM_LIT:0> <= pos[<NUM_LIT:0>] <= <NUM_LIT:1>) or not (<NUM_LIT:0> <= pos[<NUM_LIT:1>] <= <NUM_LIT:1>):<EOL><INDENT>raise InvalidOperationException('<STR_LIT>'.format(repr(pos)))<EOL><DEDENT>ret = self.agent.input.click(pos[<NUM_LIT:0>], pos[<NUM_LIT:1>])<EOL>self.wait_stable()<EOL>return ret<EOL>
Perform click (touch, tap, etc.) action on target device at given coordinates.

The coordinates (x, y) are either a 2-list or 2-tuple. The coordinates values for x and y must be in the
interval between 0 ~ 1 to represent the percentage of the screen. For example, the coordinates ``[0.5, 0.5]``
represent the `center` of the screen and the coordinates ``[0, 0]`` represent the `top left corner`.

See ``CoordinateSystem`` for more details about coordinate system.

Examples:
    Click the point of ``(100, 100)`` of screen which resolution is ``(1920, 1080)``::

        poco.click([100.0 / 1920, 100.0 / 1080])

Args:
    pos (:obj:`list(float, float)` / :obj:`tuple(float, float)`): coordinates (x, y) in range of 0 to 1

Raises:
    InvalidOperationException: when clicked outside of the screen