简体   繁体   中英

Run JS with imacros in terminal

I created a javascript imacros file that runs fine in browser with firefox. But I want to run the script in command line. How can I do this?

I'm trying to do this way:

open -a Firefox "/Users/.../iMacros/Macros/test.js"

But this way the firefox page is opened and the js file is open also. But the script doesn't run.

Is there a way to run the script without firefox window open? Just on command line I mean. I'm using OS X.

Example:

open -a Firefox "imacros://run/?m=test.js"

See http://wiki.imacros.net/iMacros_for_Firefox#Command_Line_Support

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM