You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: replace Python demo with CLI one-liner for smooth movement
Swap the Python smooth_demo.py script in the Tip with a pure bash
snippet using the kernel CLI. Users can copy-paste and run immediately
without creating any files.
Made-with: Cursor
Copy file name to clipboardExpand all lines: browsers/computer-controls.mdx
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,25 +6,25 @@ description: "Control the computer's mouse, keyboard, and screen"
6
6
Use OS-level controls to move and click the mouse, type and press keys, scroll, drag, and capture screenshots from a running browser session.
7
7
8
8
<Tip>
9
-
Smooth movement is enabled by default — every `moveMouse` and `dragMouse` call already uses [Bézier curves](https://en.wikipedia.org/wiki/B%C3%A9zier_curve). Run this script and open the [live view](/browsers/live-view)link to watch it in action:
Smooth movement is enabled by default — every `moveMouse` and `dragMouse` call already uses [Bézier curves](https://en.wikipedia.org/wiki/B%C3%A9zier_curve). Open [live view](/browsers/live-view)and paste this to see the difference:
0 commit comments