Andrey Lushnikov ab6a96a991 Fix License header of certain examples
Certain examples rely extensively on the originating PhantomJS
examples.

This patch fixes license headers of these examples to mention
PhantomJS authors.
2017-05-12 16:48:02 -07:00
2017-05-12 10:50:06 -07:00
2017-05-12 16:38:07 -07:00
2017-05-11 00:06:41 -07:00
2017-05-11 00:06:41 -07:00
2017-05-11 00:06:41 -07:00
2017-05-11 00:06:41 -07:00
2017-05-12 16:38:07 -07:00
2017-05-12 16:38:07 -07:00

Status

Test results on Mac OS X in headless mode:

  111 passed
   20 failed as expected
    1 skipped
   49 unsupported

Installing

npm i
npm link # this adds puppeteer to $PATH

Run

# run phantomjs script
puppeteer third_party/phantomjs/examples/colorwheel.js

# run 'headful'
puppeteer --no-headless third_party/phantomjs/examples/colorwheel.js

# run puppeteer example
node examples/screenshot.js

Tests

Run all tests:

npm test

Run phantom.js tests using puppeteer:

npm run test-phantom

Run puppeteer tests:

npm run test-puppeteer
Languages
TypeScript 93.2%
JavaScript 5.1%
HTML 1.2%
CSS 0.3%
MDX 0.1%