Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroslopez committed Feb 28, 2022
1 parent ab5167c commit 12d9735
Showing 1 changed file with 7 additions and 34 deletions.
41 changes: 7 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,43 +47,14 @@ client.initialize();

Take a look at [example.js](https://github.com/pedroslopez/whatsapp-web.js/blob/master/example.js) for another example with more use cases.

## Remote Access
For more information on saving and restoring sessions, check out the available [Authentication Strategies](https://wwebjs.dev/guide/authentication.html).

You could also connect to any previously existing browser instance:

```js
const client = new Client({
puppeteer: {
browserWSEndpoint: `ws://localhost:3000`
}
});
```

### Docker

1) Installing a browser using browserless:

```
docker run \
--rm \
-p 3000:3000 \
-e "MAX_CONCURRENT_SESSIONS=1" \
browserless/chrome:latest
```

Reference: https://docs.browserless.io/docs/docker-quickstart.html

### Remote Debugging

2) Running a browser with websocket remote debugging enabled:
> chrome.exe --remote-debugging-port=9222
After that check the following webpage and check http://127.0.0.1:9220/json and get the **webSocketDebuggerUrl**

## Supported features

| Feature | Status |
| ------------- | ------------- |
| Multi Device ||
| Send messages ||
| Receive messages ||
| Send media (images/audio/documents) ||
Expand Down Expand Up @@ -116,11 +87,13 @@ Something missing? Make an issue and let us know!

Pull requests are welcome! If you see something you'd like to add, please do. For drastic changes, please open an issue first.

## Donating
## Supporting the project

You can support the maintainer of this project through the link below
You can support the maintainer of this project through the links below

[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/psla/)
- [Support via GitHub Sponsors](https://github.com/sponsors/pedroslopez)
- [Support via PayPal](https://www.paypal.me/psla/)
- [Sign up for DigitalOcean](https://m.do.co/c/73f906a36ed4) and get $100 in credit when you sign up (Referral)

## Disclaimer

Expand Down

0 comments on commit 12d9735

Please sign in to comment.