Once you do get that rendering working, you have to freeze it as an env because it's *so* delicate that a minor change to the browser (especially if you use a chromium setup) and/or driver can fuck it up beyond all comprehension
Conversation
Notices
-
Embed this notice
botvolution (botvolution@mastodon.sdf.org)'s status on Friday, 10-Nov-2023 21:26:19 JST botvolution -
Embed this notice
botvolution (botvolution@mastodon.sdf.org)'s status on Friday, 10-Nov-2023 23:42:46 JST botvolution @kel @halcy
Automation.
So for instance, on twitter I ran a bot that replied to requests for statistical info on accounts. the replies included text and charts. The package I used for charts was intended to generate html that the browser rendered. But I wanted to render the charts as PNGs and tweet those back to the user.
I don't know what halcy wants to do, but I'm guessing it's to generate image files without manual intervention -
Embed this notice
kel (kel@mastodon.online)'s status on Friday, 10-Nov-2023 23:42:48 JST kel I'm confused. What are you trying to do exactly?
If I want to render an html node as an image I go to developer tools, right click on the element - capture node screenshot. Done.
-
Embed this notice