Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

interface fix

Dillon DuPont116b4dc9a907
diff --git a/README.md b/README.md
index 60970a6d5b..f57994b3f5 100644
--- a/README.md
+++ b/README.md
@@ -81,11 +81,11 @@ from computer import Computer
async with Computer(os_type="macos") as computer:
# Take a screenshot
- screenshot = await computer.screenshot()
+ screenshot = await computer.interface.screenshot()
# Click on an element
- await computer.mouse.click(x=100, y=200)
+ await computer.interface.left_click(100, 200)
# Type text
- await computer.keyboard.type("Hello, world!")
+ await computer.interface.type_text("Hello, world!")
```
For ready-to-use examples, check out our [Notebooks](./notebooks/) collection.