From f49d0b2803cee72797bd26ef2439b138198f6370 Mon Sep 17 00:00:00 2001 From: Zach Ploskey Date: Sat, 15 Sep 2018 19:35:13 -0700 Subject: [PATCH] readme: fix namespace and point to launch fn --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b4143c..e1f7391 100644 --- a/README.md +++ b/README.md @@ -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).