File size: 419 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
# Focus

Move focus to an element by ref.

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

This is useful before keyboard-only flows such as `press Enter` or `type`.

## Related Pages

- [Press](./press.md)
- [Type](./type.md)