Working on a project that would require a headless browser to screenshot web pages, and MAN do you folks know what the NYT home page looks like if you're not blocking ads? https://mastodon.xyz/media/2OPG6WGVY3nvu1lwzs8
@neuralgraffiti this is the new-ish headless chrome option (so just
chromium-browser --headless --disable-gpu --screenshot="nyt.png" https://www.nytimes.com/
for now.) New documentation for it inspired me: https://developers.google.com/web/updates/2017/04/headless-chrome
@neuralgraffiti it's a sickly sort of politeness because I just made it talk to ME that way all the time :-/
Anyway the "OSError" happens like 50% of the time (and is genuinely harmless), other errors happen almost never.