From 35fd4678d18d4669081998c2e3975d1defcec6ef Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 16 Nov 2019 01:22:08 +0100 Subject: [PATCH] fix(core): update --- readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/readme.md b/readme.md index 17f9377..edb48a1 100644 --- a/readme.md +++ b/readme.md @@ -20,6 +20,13 @@ simplified access to puppeteer Use TypeScript for best in class intellisense. +```typescript +const headlessBrowser = await smartpuppeteer.getEnvAwareBrowserInstance({ + forceNoSandbox: true // if you really want no sandbox, you can do this. Otherwise its starting things as necessary +}); +await headlessBrowser.close(); +``` + ## Contribution We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)