MCPcopy Create free account
hub / github.com/e2b-dev/desktop / left_click

Method left_click

packages/python-sdk/e2b_desktop/main.py:351–357  ·  view source on GitHub ↗

Left click on the mouse position.

(self, x: Optional[int] = None, y: Optional[int] = None)

Source from the content-addressed store, hash-verified

349 return file
350
351 def left_click(self, x: Optional[int] = None, y: Optional[int] = None):
352 """
353 Left click on the mouse position.
354 """
355 if x and y:
356 self.move_mouse(x, y)
357 self.commands.run("xdotool click 1")
358
359 def double_click(self, x: Optional[int] = None, y: Optional[int] = None):
360 """

Callers 1

mainFunction · 0.80

Calls 1

move_mouseMethod · 0.95

Tested by

no test coverage detected