Windows
Deploy a Windows instance
Windows instances are in early access. Join our Discord to get started.
WindowsInstance
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.
- Slow start up time
- 2x compute cost
Start a Windows instance
Python
TypeScript
Available actions
screenshot
Take a base64 encoded image of the current desktop
Python
TypeScript
get_stream_url
Get the interactive stream URL
Python
TypeScript
computer
Perform computer actions with the mouse and keyboard
move_mouse
Move mouse cursor to specific coordinates
[x, y] coordinates to move to
List of modifier keys to hold during the action
Python
TypeScript
click_mouse
Perform 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
Python
TypeScript
drag_mouse
Click 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
Python
TypeScript
scroll
Scroll 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
Python
TypeScript
press_key
Press a key or combination of keys. Scrapybara supports keys defined by X keysyms. Common aliases are also supported:
alt
→Alt_L
ctrl
,control
→Control_L
meta
→Meta_L
super
→Super_L
shift
→Shift_L
enter
,return
→Return
List of keys to press
Time to hold keys in seconds
Python
TypeScript
type_text
Type text into the active window
Text to type
List of modifier keys to hold while typing
Python
TypeScript
wait
Wait for a specified duration
Time to wait in seconds
Python
TypeScript
take_screenshot
Take a screenshot of the desktop
Python
TypeScript
get_cursor_position
Get current mouse cursor coordinates
Python
TypeScript
stop
Stop the instance
Python
TypeScript
pause
Pause the instance
Python
TypeScript
resume
Resume the instance
Python
TypeScript
Compatible tools
ComputerTool
Screen resolution
By default, the Windows instance runs at 1024x768 resolution.