I need to write some scripts that access some sites. A script from the command line will receive some pages, publish some forms, a screen fragment, some information, etc.
It cannot be a library "browser" like libwww-perl, because some steps may require user interaction (katches, forms only ajax, any unexpected interactions, etc.).
The most practical way I can think of is to remotely open a tab in Firefox and inject Javascript into it, something similar to what Greasemonkey and Selenium do. It doesnβt have to be for Firefox, it can be a different browser if it is easier.
So what would be the best way to do this?
source share