https://github.com/redco/goose-chrome-environment
https://github.com/redco/goose-chrome-environment
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redco/goose-chrome-environment
- Owner: redco
- License: mit
- Created: 2017-10-02T16:41:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-17T13:21:48.000Z (about 6 years ago)
- Last Synced: 2024-04-24T13:36:28.430Z (about 1 year ago)
- Language: JavaScript
- Size: 95.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goose Chrome Environment
[](https://circleci.com/gh/redco/goose-chrome-environment)
[](https://www.npmjs.com/package/goose-chrome-environment)
[](https://www.npmjs.com/package/goose-chrome-environment)Environment for [Goose Parser](https://github.com/redco/goose-parser) which allows to run it in Chromium via [Puppeteer API](https://github.com/GoogleChrome/puppeteer)
## ChromeEnvironment
This environment is used for running Parser with chrome headless.
```JS
const env = new ChromeEnvironment({
url: 'http://google.com',
});
```
The main and only required parameter is `url`. It contains an url address of the site, where Parser will start.This environment allows:
- execute dynamic JavaScript on the page
- use single proxy
- perform snapshots
- and more sweet features