Windows instances are in early access. Join our Discord to get started.
The WindowsInstance is a full-fledged Windows 11 desktop that supports interactive streaming and computer actions. We recommend using this instance type if you need to interact with Windows-only applications.
Take a base64 encoded image of the current desktop
Get the interactive stream URL
Perform computer actions with the mouse and keyboard
move_mouseMove mouse cursor to specific coordinates
[x, y] coordinates to move to
List of modifier keys to hold during the action
click_mousePerform a mouse click at current position or specified coordinates
Mouse button to click (“left”, “right”, “middle”, “back”, “forward”)
Type of click action (“down”, “up”, “click”)
[x, y] coordinates to click at
Number of clicks
List of modifier keys to hold during the action
drag_mouseClick and drag from current position to specified coordinates
List of [x, y] coordinate pairs defining the drag path
List of modifier keys to hold during the action
scrollScroll horizontally and/or vertically
[x, y] coordinates to scroll at
Horizontal scroll amount
Vertical scroll amount
List of modifier keys to hold during the action
press_keyPress a key or combination of keys. Scrapybara supports keys defined by X keysyms. Common aliases are also supported:
alt → Alt_Lctrl, control → Control_Lmeta → Meta_Lsuper → Super_Lshift → Shift_Lenter, return → ReturnList of keys to press
Time to hold keys in seconds
type_textType text into the active window
Text to type
List of modifier keys to hold while typing
waitWait for a specified duration
Time to wait in seconds
take_screenshotTake a screenshot of the desktop
get_cursor_positionGet current mouse cursor coordinates
stopStop the instance
pausePause the instance
resumeResume the instance
ComputerToolBy default, the Windows instance runs at 1024x768 resolution.