DEV Community

Discussion on: Showoff your best creation

Collapse
 
s1hofmann profile image
Simon Hofmann • Edited

GitHub logo nut-tree / nut.js

Native UI testing / controlling with node

nut.js (Native UI Toolkit)

Travis Appveyor
Master Build Status Build status
Develop Build Status Build status

SonarCloud badge SonarCloud Coverage

Downloads per month

Native UI testing / automation with node.js

Built with opencv4nodejs

About

logo

nut.js is a cross-platform native UI automation / 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.

Examples

nut-tree/trailmix contains a set of ready to use examples which demo the usage ot nut.js.

Modules

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

Clipboard

  • Copy text to clipboard
  • Paste text from clipboard

Keyboard

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

Mouse

  • Support for mouse movement
  • Support for mouse scroll
  • Configurable movement speed
  • Mouse drag

Window

  • List all windows
  • Retrieve active window
  • Retrieve window title
  • Retrieve window size and position

Screen

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

A node desktop automation framework.

I started building it because I couldn’t find an existing one which fulfilled all my requirements.

It has been picked up by RedHat recently, so I guess I’m doing some things right 😊