Kantu for Chrome is Selenium IDE Light plus additional features, open-source

Record and replay web macros with this free and open-source Chrome extension for web browser automation. The extension is an easy to use web macro recorder for web developers, web testers and especially for general web automation and form filling.

Download: Kantu Selenium IDE (Link goes to Chrome Web Store)

Firefox Selenium IDE users, please note: The current version of Kantu's Selenium IDE supports the most commonly used "Selenese" commands of the Firefox IDE, but by far not all. That is why we call it a Selenium IDE Light. The main focus of our extension is ease of use, good recording and reliable playback, and that is why we are adding new commands only step by step. The currently available Selenium IDE commands should cover most use cases, but if you miss a command that you need for your work, please let us know so that we can add it.

Screencast: Recording and Replay

This short screencast demos how to automate form filling on our online ocr website with Kantu. We record the macro, insert a PAUSE (3 seconds) command manually and then replay the macro twice.

Kantu for Chrome plus Selenium IDE Light. Automate Chrome easily.

Screenshot: Kantu for Chrome in action.

Please send feedback, suggestions and questions to team AT a9t9.com.

Kantu for Chrome - FAQ

Q:Can Kantu for Chrome replay macros created in Selenium IDE for Firefox?

A: Yes. As long as you restrict yourself to the subset of Selenium commands currently supported by Kantu for Chrome, macros created in the Chrome IDE replay ok in the Firefox IDE. Use the Import HTML feature to load existing macros.

Q: Can the Selenium IDE for Firefox replay macros recorded in the Chrome IDE?

A: Yes. Use the "Export HTML" feature to export macros in the Firefox Selenium IDE HTML format. The also available JSON export is for later use with Kantu (see the next question below).

Q: How is Kantu for Chrome related to the image-driven Kantu Web Automation browser?

A: Kantu for Chrome is an experiment. Initially we experimented with image recognition inside a chrome extension (and released this WebGL-powered javascript template matching code (demo page here), but, while the image-recognition would be reliable and fast enough, it turned out that the limitations of the Chrome extension API stopped the project for now: The Chrome API does not offer a method for reliable x/y clicks. What is easy to do with the Chromium browser engine inside the Kantu browser, is a mission impossible inside a Chrome extension.

So for the time being, Kantu for Chrome will offer only the classic HTML/DOM based automation. Our main products, Kantu Web Automation (and soon, Kantu Desktop Automation) remain focused on image-driven automation, which makes automation so much easier and faster. However, there are cases when the classic DOM/HTML level automation makes good sense, for example when testing/automating basic (= not Javascript-heavy) websites. Future releases of the Kantu Browser will be able to replay "Selenium" macros recorded in Kantu for Chrome, and will allow you to mix and match the "Selenium-style" Kantu for Chrome macros with in the image-driven Kantu Browser macros - which gives you the best of both web automation worlds.


Kantu for Chrome is powered by Selenium IDE compatible commands

The open-source Kantu Webextension supports all important Selenium IDE commands. You find them in this list along with some examples and "how to use" comments.

If your favorite Firefox Selenium IDE command is still missing, please let us know. Also please report bugs to us and send us your new feature suggestions.

Other useful functions

Loop button:

The dropdown next to the Play button contains the loop feature - run macros as a loop. Looping a macro is ideal to for stress-testing a website, for performance monitoring or to simply assess the stability for the macro itself.

Kantu for Chrome looping...

Test status reporting:

The background of each macro indicates its test status: White = not yet run, Green = last run was ok and red = last run had an error.

Test status indicator...

Position support in link text locator:

With CLICK link=Download@POS=3 you instruct the IDE to use the n-th (here n=3) occurrence of a locator. This is useful, for example, if a have a website with many download links, and you want to click the n-th once. POS is only supported with the the “normal text” locator link=... but not with XPATH and CSS selectors.

Internal variables

Some parameters of the Selenium IDE can be controlled via Internal variables. All internal variables are per macro run. If not set inside a macro, then the global default values are used.

  • !LOOP (read only) – current value of the loop counter (1,2,3… etc). Great for use with @POS=${!LOOP} to cycle through a list of links.
  • !REPLAYSPEED (read/write) - Set the replay speed to FAST (no delay between each step), MEDIUM (short, "human like" delay) or "SLOW" (2 seconds delay)
  • !TIMEOUT_PAGELOAD (read/write) - How long to wait for page load
  • !TIMEOUT_WAIT (read/write) - Duration of the implicit wait for an element to appear
  • !URL (read only) - contains current browser URL that you see in the address bar. Previously, the storeLocator command was needed for this.


Kantu Example Macro

This macro runs in Kantu for Chrome and the Selenium IDE for Firefox.

ocr.space chinese ocr
open /
type id=imageUrl http://dl.a9t9.com/ocrbenchmark/chs.png
select id=ocrLanguage label=ChineseSimplified
click link=Start OCR!
pause 3000
click //*[@id="sucOrErrMessage"]/strong
click id=btnShowOverlay

More Example Macros (Test cases)

The Kantu Selenium IDE github page contains the /testmacros folder with plenty of test macros. You can download and import all macros/selenium IDE scripts at once. For this, use the "Gear icon => Import HTML" feature and then select all the macros/scripts that you want to import (we call the test cases often macros - this is the same. We use the word macros as some users use the extension not for web testing, but for web automation. There the word macro and macro recorder is very common.)

Import many macros at once! - and do not forget to BACKUP (export) your macros once in while

Tip: Backup your macros

All macros are stored inside your web browser in what is called technically "HTML5 local storage". Nothing is copied or moved to the cloud. This also means that once you uninstall the Kantu extension, your macros are gone! Please use the "Export" and "Export All" feature to create backups of your important test cases.


For developers

The full source code of Kantu for Chrome is available on GitHub (License: GNU).

Follow a9t9 on Twitter
Contact Us
Download Kantu Freeware
Copyfish for Chrome/Firefox
Selenium IDE for Chrome
Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.