Skip to content

Commit

Permalink
fix: change browserless.close() to browserlessFactory.close() on …
Browse files Browse the repository at this point in the history
…README example (#343)
  • Loading branch information
marcelscruz committed Jan 3, 2022
1 parent d5ef2d5 commit 0d54620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ console.log(termImg(buffer))
await browserless.destroyContext()

// At the end, gracefully shutdown the browser process
await browserless.close()
await browserlessFactory.close()
```

As you can see, **browserless** is implemented using a single browser process and creating/destroying specific browser contexts.
Expand Down

0 comments on commit 0d54620

Please sign in to comment.