Skip to content

Commit

Permalink
docs: add info about headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Mar 1, 2024
1 parent d98ae94 commit 3debcc9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,16 @@ const main = async () => {

void main();
```

## FAQ

### Login doesn't work

Try to pass `headless: false` to `login` function and see what's happening in the browser.

```typescript
const credentials = await login({
phoneNumber: "600700800",
headless: false,
});
```

0 comments on commit 3debcc9

Please sign in to comment.