Open
Description
Short summary
As a poc, I tried running a simple image matching Nut.js script on Node.js@20. I ran node index.js
to check if Nut.js meets my performance expectations. And gladly it did.
So, I began to start my project which required Vue.js, Electron, and Nut.js. I copy and pasted the same simple snippet which I used for the POC, and ran the program with npm run dev
. (The Electron app has a button that runs the simple Nut.js script.)
Surprisingly the app could not detect the given image.
I want to know if anyone has experienced similar phenomenon, or if I am missing anything.
Desired execution environment / tested on
- Virtual machine
- Docker container
- Dev/Host system
node version:
NodeJS@20
OS type and version:
Windows 11 x86
Full code sample related to question
await sleep(1000)
const img = await screen.find(imageResource('src/main/nuts/images/sidebar-new.png'))
await mouse.move(straightTo(centerOf(img))
await mouse.leftClick()
Detailed question
Metadata
Metadata
Assignees
Labels
No labels