Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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