You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement node-key-sender in my Cypress automation test for generating "ctrl+w" combination for closing browser tab. Unfortunately the commands const ks = require('node-key-sender'); ks.sendCombination(['control', 'w']);
results "exec is not a function" error:
I am trying to implement node-key-sender in my Cypress automation test for generating "ctrl+w" combination for closing browser tab. Unfortunately the commands
const ks = require('node-key-sender'); ks.sendCombination(['control', 'w']);
results "exec is not a function" error:
`node_modules/node-key-sender/key-sender.js:117:1
115 | var command = 'java -jar "' + jarPath + '" ' + arrParams.join(' ') + module.getCommandLineOptions();
116 |
JRE is installed on my Windows machine.
The text was updated successfully, but these errors were encountered: