Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore: update docs to show keyboardkey import
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes committed Sep 7, 2024
1 parent c807453 commit b17d498
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/docs/Interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ page.interact([{ command: 'click', mousePosition: aElem, verification: 'exactEle

Import KeyboardKey from IKeyboardLayoutUS for all valid KeyboardChar values (e.g. `KeyboardKey['\n']`, `KeyboardKey.Enter`).

```ts
import { KeyboardKey } from '@ulixee/unblocked-specification/agent/interact/IKeyboardLayoutUS';
```

## Using Shortcuts

If you have no need to change the position of the mouse between commands you can create Interactions using simple `Command` strings.
Expand Down

0 comments on commit b17d498

Please sign in to comment.