native-ui-toolkit

Native system automation for node.js

Usage no npm install needed!

<script type="module">
  import nativeUiToolkit from 'https://cdn.skypack.dev/native-ui-toolkit';
</script>

README

NUT (Native UI Toolkit) Build Status

Native UI testing / controlling with node.js


Built with Robot Built with opencv4nodejs

About

This is a WIP implementation for a cross-platform native UI testing tool. It allows for native UI interactions via keyboard and / or mouse, but additionally gives you the possibility to navigate the screen based on image matching.

Modules

This list gives an overview on currently implemented and planned functionality. It's work in progress and will undergo constant modification.

Assertions

  • isVisible
  • isNotVisible

Clipboard

  • Copy to clipboard
  • Paste from clipboard

Keyboard

  • Support for standard US keyboard layout
  • Support for German keyboard layout

Mouse

  • Support for basic mouse movement
  • Configurable movement speed

Process

  • Spawn a new process
  • Retrieve the region of a process window
  • Close a spawned process

Screen

  • findOnScreen
  • waitFor
  • Hooks to trigger actions based on images