Skip to content

Commit 1095730

Browse files
committed
fix(docs): update click_mouse example with correct parameters
1 parent 086052d commit 1095730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/scrapybara.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Both Scrapybara and Kernel provide Computer Controls APIs that allow you to prog
150150
instance = client.start_browser()
151151

152152
# Click at specific coordinates
153-
instance.computer(action="click_mouse", button="left")
153+
instance.computer(action="click_mouse", button="right", coordinates=[300, 400])
154154

155155
# Drag from one position to another
156156
instance.computer(action="drag_mouse", path=[[100, 200], [300, 400]])

0 commit comments

Comments
 (0)