XModules - Extension Modules for Kantu

Kantu extension modules – or short: XModules - are native apps that add powerful new features to the Kantu open-source core. The first two modules that we release add real mouse click events, keyboard shortcuts simulation and direct file access for macros and CSV files.

Download: Kantu XModules Installer

Since the XModules are native apps, there is a separate installer for Windows, Mac and Linux. The modules works with both, Kantu for Firefox and Chrome. So if you use Kantu with both browsers, you need to install the XModules only once.

RealUser Simulation XModule - Trigger native OS events for click, move, type and drag

The Real User XModule is a native app for Windows, Mac and Linux. It directly interacts with the operating system to simulate native click, drag and type (sendkey) events. Together with Kantu's built-in computer vision, this module brings takes web automation to a new level and makes Kantu the most powerful browser extension for web automation. But most importantly, it makes creating web automation scripts fun again.

The RealUser XModule adds three new commands:

Native OS events Comment
XClick This simulates a real user mouse click, double-click or right-click. (More Info)
XMove Simulate mouse up, mouse down and mouse over events (More Info)
XType Send native keyboard events and shortcuts (More Info)

File Access XModule - read and write directly to your hard drive

The File Access XModule is a native app for Windows, Mac and Linux. It adds direct file access to Kantu, so you can read/write macros, test suites and CSV files directly from the hard drive. Once installed you can change the file storage mode to hard drive storage mode, and this means:

  • Macros are stored on the hard drive ( "/macros" folder)

  • Testsuites are stored on the hard drive ( "/testsuites" folder)

  • Computer vision input images are stored on the hard drive ( "/images" folder). The images listed in the Image tab are the images from the "/image" folder.

  • csvRead and csvSave work directly to/from the hard drive. And the CSV files listed in the CSV tab are the files from the "/csv" folder.

Having the files directly on the hard drive makes many tasks easier, for example you can easily check-in/check-out macro files with source control. The same is true for data-driven testing with CSV files as input.

You can easily switch between "in the browser" and "on the hard drive" storage modes, as the paragraph below explains.

Storage modes

Kantu has two kind of storage modes for macros and data:

Inside the web browser using HTML5 local storage. This is the default mode of Kantu, as it is the only way browser extensions can store information

Directly on the hard drive. This method feels much more natural and convenient. It requires the FileAccess XModule to be installed. When the hard-drive storage mode is active, you will notice the hard drive icon on every Kantu Tab that read and writes information directly to the disk. In hard-drive mode csvRead and csvSave read and save directly to files, instead of using the browser local storage.

Hard-drive storage mode explained

After installing the FileAccess XModule don't be surprised that there are no macros in the hard drive list view yet. You first need to export your current macros from inside the browser to the hard drive.

Copy macros between the two storage modes

To transfer existing macros to a new Kantu macros folder you can export all macros, testsuites, images and CSV files at once with the Kantu HTML5 Local Storage Backup button. Then you can extract the content of this backup archive to your new Kantu folder.
Alternatively, right-click on any macro and select "Copy to Hard-Drive Storage". This is shown in the screenshot above.

How to share macros and other data between Kantu users

Storing macros, test suites, images and CSV files directly on the hard drive allows you to share them between co-workers and manage backups and revisions of the files easily:

Share macros with DropBox, Google Drive, GitHub or any other version control system
To share macros with your team, point the Kantu home folder to a shared location, e. g using Dropbox, Google Drive or a version control systems like Git/Github. Alternatively, if your team is in the same local network, you can simply point the Kantu home folder to a shared network drive.

How to install the XModules

The screencasts below shows how to download, install and use the XModules. This includes the FileAccess XModule.


Installation on Windows


Installation on Linux and Mac

Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.