Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaue/headless-knight
🤯 [WIP] headless browser using nodejs vm
https://github.com/kaue/headless-knight
Last synced: about 2 months ago
JSON representation
🤯 [WIP] headless browser using nodejs vm
- Host: GitHub
- URL: https://github.com/kaue/headless-knight
- Owner: kaue
- License: mit
- Created: 2018-11-20T21:03:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T15:26:17.000Z (about 6 years ago)
- Last Synced: 2024-11-09T20:33:25.452Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [WIP]
# USAGE
`npm i --save headless-knight`
```javascript
const headless = require('headless-knight');
const page = await headless('https://google.com');
```# TODO
- `page.evaluate()` should run a script inside page scope
- `page.scope` should return page scope
- `page.navigate(url)` should navigate to `url` keeping referrer