Launching Kantu with exported html (Windows)


I’ve successfully exported html script files with Kantu, but when attempting to open them, the text of the script opens within chrome. i.e. it doesn’t launch the script.

The FAQ is a little vague on the best way to implement using an exported file to luanch Kantu (Windows).

If someone would provide a few pointers here that would be great.



I assume you want to start a macro from the command line? => You find some explanations here:

xample: A Windows batch file to run a Selenium IDE/Kantu macro from the command line on looks like this:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "file:///D:/mytestcases/DemoAutofill1.html?direct=1&close=1&savelog=log1.txt"

Windows is used as an example here, the command line feature also works on Mac and Linux as well. “demoautofill.html” is the exported Kantu macro. Note that you must use file:/// for the file path.

I assume this is your issue because if you just start with “C:…” you will get a “file not found” error for the HTML file due to the appended “?direct=1&close=1&savelog=log1.txt” GET parameters.