Puppeteer - new headless Chrome library from Google

Harnum, Alan aharnum at ocadu.ca
Thu Aug 17 14:28:05 UTC 2017


Potentially of interest: https://github.com/GoogleChrome/puppeteer

Especially of interest to some may be the keyboard API: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-keyboard

"Keyboard provides an api for managing a virtual keyboard. The high level api is page.type, which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page. For finer control, you can use keyboard.down, keyboard.up, and keyboard.sendCharacter to manually fire events as if they were generated from a real keyboard."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20170817/f62865e0/attachment.html>


More information about the fluid-work mailing list