Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redco/goose-chrome-environment
https://github.com/redco/goose-chrome-environment
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/redco/goose-chrome-environment
- Owner: redco
- License: mit
- Created: 2017-10-02T16:41:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-17T13:21:48.000Z (over 5 years ago)
- Last Synced: 2024-04-24T13:36:28.430Z (7 months 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
[![Build Status](https://img.shields.io/circleci/project/github/redco/goose-chrome-environment.svg?style=flat)](https://circleci.com/gh/redco/goose-chrome-environment)
[![Latest Stable Version](https://img.shields.io/npm/v/goose-chrome-environment.svg?style=flat)](https://www.npmjs.com/package/goose-chrome-environment)
[![Total Downloads](https://img.shields.io/npm/dt/goose-chrome-environment.svg?style=flat)](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