Like this question, I am trying to figure out how to simulate certain key commands with NodeJS. For example, I'd like to programmatically cause "ctrl+C" (copying highlighted text) to occur, no matter what window the user is in.
A common answer to…
I am developing a chrome extension with nodejs. I used robotjs module to write some text in an input tag.
It writes English characters well but when I want to write persian characters, it shows special character for each character in my string in…
I am using robotjs for remote control in angular electron app, it loads up fine in development mode(npm run electron) but when I do packaging (.exe) using electron packager then after generating exe file I get "Cannot find module robotjs" upon…
am trying to use robotjs in an electron(v5.0.5) application when i run the application , i get the error below , i used electron-rebuild command :
./node_modules/.bin/electron-rebuild
and used npm rebuild as well and i still getting the same…
https://github.com/octalmage/robotjs/issues/472
The annoying this with this issue is that it is working for my colleague on their machine, but it isn't working for me and we're at a loss for how to debug.
Expected Behavior
The expectation is that…
I am trying to request value from server through socketjs.
Here is client.js
function onClick({clientX, clientY}) {
console.log("====== #click: "+clickNo);
clickNo++;
var srcWidth, srcHeight, mouseClickX, mouseClickY;
…
I'm using this code for browse (upload) files in dialog:
var uploadPathLogo = "path to file";
var uploadLogo = function() {
browser.driver.sleep(3000).then(function() {
robot.typeStringDelayed(uploadPathLogo, 23000);
…
I cannot install Robotjs in Node. When I try to install the command: npm install robot-js, the screen shows this error:
Error: robot-js binaries failed to install. You will need to install
them manually.
When I put the command: npm…
I am trying to use Robot.js inside of a React.js application. I have Robot.js installed and can run it to get the results in a separate file. I cannot find a way to run Robot.js inside a React component because I get an error "robot.getMousePos()"…