Commit 7e2fc26
authored
[docs]: add docs for
# why
- docs for `page.keyPress()` were missing
# what changed
<img width="730" height="727" alt="Screenshot 2026-04-07 at 1 41 38 PM"
src="https://github.com/user-attachments/assets/1bf50de3-93b6-4fca-b632-cdb80bcfc3da"
/>
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Added docs for `page.keyPress()` in the v3 Page reference. Includes the
method signature, supported keys and modifier combos, the `delay`
option, and examples for single keys and combinations (Enter, Cmd+A,
ArrowDown, Ctrl+C, with delay).
<sup>Written for commit 0cbf3a9.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1974">Review in
cubic</a></sup>
<!-- End of auto-generated description by cubic. -->.keyPress() (#1974)1 parent 7fe0fe4 commit 7e2fc26
1 file changed
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
345 | 371 | | |
346 | 372 | | |
347 | 373 | | |
| |||
886 | 912 | | |
887 | 913 | | |
888 | 914 | | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
889 | 930 | | |
890 | 931 | | |
891 | 932 | | |
| |||
0 commit comments