NAME
shoot — photograph each view in headless Chrome
SYNOPSIS
await shoot(views, work, port=8791)
DESCRIPTION
Opens the viewer for each (picture, address) in a headless Chrome (Playwright, with WebGL by SwiftShader), waits for window.done, and saves the picture. Stops with the loader's error if a file does not load.
PARAMETERS
views: [(path of the picture, viewer address), …]. work, port: as for serve().
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
