File size: 409 Bytes
6a7089a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Press

Send a keyboard key to the current tab.

```bash
curl -X POST http://localhost:9867/action \
  -H "Content-Type: application/json" \
  -d '{"kind":"press","key":"Enter"}'
# CLI Alternative
pinchtab press Enter
# Response
{
  "success": true,
  "result": {
    "success": true
  }
}
```

Common keys include `Enter`, `Tab`, and `Escape`.

## Related Pages

- [Click](./click.md)
- [Focus](./focus.md)