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

Method mouse_release

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

Release the mouse button.

(self, button: Literal["left", "right", "middle"] = "left")

Source from the content-addressed store, hash-verified

409 self.commands.run(f"xdotool mousedown {MOUSE_BUTTONS[button]}")
410
411 def mouse_release(self, button: Literal["left", "right", "middle"] = "left"):
412 """
413 Release the mouse button.
414 """
415 self.commands.run(f"xdotool mouseup {MOUSE_BUTTONS[button]}")
416
417 def get_cursor_position(self) -> tuple[int, int]:
418 """

Callers 1

dragMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected