Launching Kantu from Command Line on a Mac



I am trying to launch a test from the command line on a Mac. It runs, but it isnt using the parameter values. Do you have a working example? This is what I’m currently trying:

mac:~ open “file:////Users/shunt/Kantu/Smoke_Test.html?direct=1&close=1&savelog=log1.txt”




Does this command line work?

open -a "Google Chrome" "file:////Users/shunt/Kantu/Smoke_Test.html?direct=1&close=1&savelog=log1.txt"

If not: Are you using Kantu for Chrome or Firefox?


No, that command has the same issue. It opens Chrome and runs the script, but the parameters are being ignored, so no log file is created and the warning popup is being displayed. I’ve also tried it with the DemoAutofill demo script and have the same issue.

I’m using Kantu for Chrome.



On a Mac, open just handles files, it doesn’t know about GET parameters. So the AppleScript approach is the way to go here:

osascript -e 'tell application "Google Chrome" to 
    open location "file:///Users/t/Kantu/demoautofill.html?direct=1&close=1&savelog=demotestlog.txt"'

(1) In command line:

(2) In applescript:

HTML with autorun worked yesterday, but not today