Skip to content

Commit

Permalink
readme: fix namespace and point to launch fn
Browse files Browse the repository at this point in the history
  • Loading branch information
zploskey committed Sep 16, 2018
1 parent 77096ad commit f49d0b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ Now run:
```sh
yarn start
```

The `Puppeteer` module should now be available in your Reason source files.
While the `start` command is running, it will attempt to recompile your code each time you save it.
One-off builds can be done with `yarn build`.

The `BsPuppeteer` module should now be available in your source files.
You can launch a new browser instance using `BsPuppeteer.Puppeteer.launch()`.
See the [examples](examples/) for a more detailed demonstration.

For interacting with the DOM on pages you navigate to we recommend using
[bs-webapi](https://github.com/reasonml-community/bs-webapi-incubator).

Expand Down

0 comments on commit f49d0b2

Please sign in to comment.