We offer browser-page JavaScript similar to imagemagick that helps people convert images to different sizes and formats. However, it requires webpage interaction.
Is it possible to let people automate this interaction -- without sending images to our server (thus increasing bandwidth cost and server load) and without requiring users to download a headless browser library like Puppeteer?
For instance, is the following flow possible:
- Open Chrome via the command line (or local script) to a specific web page.
- Upload an image to that web page.
- Invoke a script on the web page.
- Receive the script results and allow for local manipulation.
Launching Chrome is possible, but it's unclear if you can interact with a specific browser window after launching it.
from Interact with browser JavaScript via command line or local script?
No comments:
Post a Comment