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). :)