nut.js

Native UI testing / controlling with node

Downloads
124.2K
Stars
2K
Committers
10

Bot releases are hidden (Show)

nut.js - v4.2.0 Latest Release

Published by s1hofmann 6 months ago

  • Feature: Extend Window class with minimize and restore methods
nut.js - v4.1.0

Published by s1hofmann 7 months ago

  • Enhancement: Extend WindowProviderInterface with minimizeWindow and restoreWindow functions
  • Feature: Introduce WindowElementQuery type and extend Window class with find, findAll, waitFor and find hooks
nut.js - v4.0.1

Published by s1hofmann 7 months ago

  • Enhancement: Fix channel info for image loader to 4 to avoid processing errors
nut.js - v4.0.0

Published by s1hofmann 8 months ago

  • Feature: Add ability to move/focus/resize windows (#172)
  • Enhancement: Add support for 'Clear' key on macOS (PR #520)
  • Feature: Optional default providers (#533)
  • BREAKING: OCR confidence override not working (nut-tree/plugin-ocr#25)
  • Enhancement: New 'toHaveColor' Jest matcher (#547)
  • Enhancement: Improved error messages for timeouts (#556)
  • Maintenance: Migrate nut.js core and its default providers to a monorepo (PR #560)
  • Maintenance: Use PlayWright for E2E tests
  • Bugfix: getActiveWindow returns out-of-bounds coordinates for maximized windows (#559)
  • BREAKING: Require minimum node version of 16
nut.js - v3.1.2

Published by s1hofmann over 1 year ago

  • Bugfix: Screen capture broken on macOS 13 (#469)
  • Enhancement: Enable newly introduced keys to be used as modifiers (#490)
  • Enhancement: Extend move API to handle single point case (#499)
  • Feature: Add color queries to search for pixels of a certain color (#500)
  • Bugfix: screen.highlight closes Electron window (#505)
nut.js - v3.1.1

Published by s1hofmann over 1 year ago

nut.js - v3.1.0

Published by s1hofmann over 1 year ago

nut.js - v3.0.0

Published by s1hofmann almost 2 years ago

  • Enhancement: Improve types of Jest matchers (#466)
  • BREAKING: Rename clipboard methods (#463)
  • Enhancement: Option to disable automatic request of permissions in macOS (#462)
  • BREAKING: Allow screen.find and other to work with non-image needles (#455)
  • BREAKING: Add bits per pixel and byteWidth info to image class (#451)
  • Bugfix: Installed Electron App crashes after upgrading to 2.3.0 (#449)
  • Maintenance: Add .nvmrc config (#447)
  • Enhancement: Define and export interfaces for keyboard/mouse/screen configs (#443)
  • Bugfix: 'RightShift' key is mapped to space (#442)
  • Maintenance: Introduce prettier (#437)
  • Bugfix: Win2012-R2: Error: The specified procedure could not be found (#434)
  • Feature: Logging provider (#371)
nut.js - v2.3.0

Published by s1hofmann about 2 years ago

  • Bugfix: Segmentation Fault when retrieving window title (#377)
  • Enhancement: Automatically check and request required permissions on macOS (#377)
nut.js - v2.2.0

Published by s1hofmann about 2 years ago

  • Maintenance: Limit CI runs to PRs, not every push
  • Maintenance: Upgrade node version to 16 for all CI runs
  • Bugfix: Fix grave accent (PR #414)
  • Enhancement: Refine error messages on fetchFromUrl (#415)
  • Enhancement: Ship Windows runtime dependencies (#365)
nut.js - v2.1.1

Published by s1hofmann over 2 years ago

  • Bugfix: Modifier keys are not properly released on macOS (#264)
  • Bugfix: Fix mouse clicks with modifiers on macOS (#273)
nut.js - v2.1.0

Published by s1hofmann over 2 years ago

  • Bugfix: Keyboard methods pressKey and releaseKey ignore updated autoDelayMs (#188)
  • Enhancement: Add mappings for missing numpad keys (#367)
  • Enhancement: macOS double click (#373)
  • Maintenance: Both mouse.leftClick and mouse.rightClick should reuse click (#390)
  • Feature: New image loader to fetch remote images (#400)
  • Bugfix: Mouse methods pressButton and releaseButton should respect auto delay (#403)
nut.js - v2.0.1

Published by s1hofmann over 2 years ago

  • Bugfix: Issue with keyboard.type in to Spotlight on MacOS (#152)
  • Enhancement: Numpad buttons don't work on Linux (#360)
nut.js - v2.0.0

Published by s1hofmann almost 3 years ago

  • Feature: Apple Silicon (libnut#49)
  • Enhancement: Enable warning message for missing accessibility permissions on macOS (#354)
  • Enhancement: Add runtime typechecks for screen.find etc. (#351)
  • Bugfix: Fix Windows scaling issue (#349)
  • Maintenance: Refine types (#340)
  • Maintenance: Cleanup deprecated code (#341)
  • Enhancement: Support for mouse capturing games (#168)
  • Feature: Provide functions to convert images between BGR and RGB color mode (#336)
  • Feature: Audio keys support (#233)
  • Enhancement: Configurable interval for waitFor (#312)
  • Bugfix: Apply pixel density scaling on colorAt (#327)
  • Enhancement: Change find signature to only work on Image instances (#329)
  • Enhancement: Adjust assert class to new Screen#find parameter types (#324)
  • Feature: Get screen pixel color (#259)
  • Feature: Add Screen#findAll to enable matching multiple template occurrences (#320)
  • Enhancement: Make Screen#find accept Promise<Image> (#320)
  • Enhancement: Accepting a Buffer with image data for Screen#find (#204)
  • Enhancement: Get rid of adapter layer in favour of providerRegistry (#310)
  • Feature: Provide a default implementation for ImageReader and ImageWriter (#307)
  • Feature: Define interface for mouse movement type (#130)
  • Feature: Separate image matching code (#279)
  • Enhancement: Export FileType (#301)
  • Enhancement: Export ImageWriterParameters (#296)
  • Enhancement: Export provider interfaces (#294)
  • Feature: Introduce a registry for providers (#292)
  • Feature: Add methods to grab the current screen content as Buffer (#278)
nut.js - v1.7.0

Published by s1hofmann over 3 years ago

  • Enhancement: Trigger snapshot releases (#234)
  • Feature: Cancel screen.waitFor if needed (#241)
  • Enhancement: Move docs into separate repo (#244)
  • Feature: Support for node 16 and Electron 13 (#246)
nut.js - v1.6.0

Published by svettwer over 3 years ago

  • Feature: Create screenshot from region (#154)
  • Bugfix: Endless loop in timeout function for long-running actions returning undefined (#205)
  • Maintenance: Use default exports for all provider classes (#163)
  • Enhancement: imprecise error message if image is too large (#169)
  • Bugfix: waitFor does not properly cancel (#174)
  • Feature: Enable GitHub Actions (#200)
  • Enhancement: Use @nut-tree/libnut@next for snapshot releases (#202)
  • Enhancement: Requesting image search outside of screen boundaries fails with runtime error (#195)
nut.js - v1.5.0

Published by s1hofmann about 4 years ago

  • Enhancement: Window support (#5)
  • Bugfix: screen.find neglects offsets when providing a search region (#160)
nut.js - v1.4.2

Published by s1hofmann about 4 years ago

  • Maintenance: Refactor locationparameters.class.ts (#129)
  • Enhancement: Update npmignore (#128)
  • Maintenance: Refactor image-processor.class.ts (#131)
  • Enhancement: Update to [email protected] (#139)
  • Enhancement: Add note about macOS permissions to readme (#134)
  • Enhancement: Stabilize drag & drop E2E test (#145)
  • Bugfix: Hanging shift key after keyboard input on Windows (#157)
nut.js - 1.4.1

Published by s1hofmann over 4 years ago

  • Bugfix: Electron + Windows problems (#126)
nut.js - 0.1.0-beta.1

Published by s1hofmann over 4 years ago

  • Enabled pre-built OpenCV bindings via opencv4nodejs-prebuilt