Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 337 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 337 Bytes

[WIP]

USAGE

npm i --save headless-knight

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