Skip to content

Commit

Permalink
Update APIRef.ActionsOnElement.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoNatan authored Jan 8, 2018
1 parent 6d66fb9 commit 2804ed3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/APIRef.ActionsOnElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ Use the builtin keyboard to type text into a text field.
await element(by.id('textField')).typeText('passcode');
```

> **Note:** Make sure hardware keyboard is disconnected. Otherwise, Detox may fail when attempting to type text.
>
> To make sure hardware keybaord is disconnected, open the simulator from Xcode and make sure **Hardware** -> **Keyboard** -> **Connect Hardware Keyboard** is deselected (or press ⇧⌘K).
### `replaceText(text)`
Paste text into a text field.

Expand Down

0 comments on commit 2804ed3

Please sign in to comment.