Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 19:20
    oktapodia commented #534
  • 18:57
    Angshu1 opened #534
  • 18:12
    jonschlinkert commented #280
  • Dec 14 23:54
    otoomey commented #533
  • Dec 14 23:53
    otoomey closed #533
  • Dec 14 23:53
    otoomey commented #533
  • Dec 14 21:44
    otoomey edited #533
  • Dec 14 21:38
    otoomey edited #533
  • Dec 14 21:37
    otoomey edited #533
  • Dec 14 21:36
    otoomey opened #533
  • Dec 11 11:29
  • Dec 11 11:20
    UrielCh opened #532
  • Dec 11 11:16
    UrielCh commented #469
  • Dec 10 13:21
    Build #453 passed
  • Dec 10 13:17
    Th3S4mur41 commented #356
  • Dec 10 13:16
    Th3S4mur41 edited #531
  • Dec 10 13:15
  • Dec 10 13:07
    Th3S4mur41 opened #531
  • Dec 10 12:01
    mcculloughjchris commented #482
  • Dec 10 09:10
    zakrzk commented #482
Can Do
hello, project are dead ?
@octalmage hello,robotjs node 8 is support?
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using th
e v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecti
ng "Upgrade Solution...". [H:\tm\tm\client\app\node_modules\robotjs\build\robotjs.vcxproj]
what's this
@roy2651 and any others who might run into this problem, try doing Option 1 first before rebuilding: https://github.com/nodejs/node-gyp#option-1
how use bower install robotjs ?
Oriol Castellví
anybody uses the robotjs for a web ?
i need to use that with a nightwatchjs scripts
Priyanshu SInha
Hello... Can file path be used to upload file?
Isaiah Odhner
@pk_sinha_1997_twitter If you just need to upload a file from Node.js, check out https://stackoverflow.com/questions/25344879/uploading-file-using-post-request-in-node-js
Priyanshu SInha
@1j01 I solved it.
but I have one more query. Installing robotjs on windows fails, until we install build essentials
Isaiah Odhner
@pk_sinha_1997_twitter I was guessing you might have. I haven't actually used robotjs, or many other native modules, but... looking at the releases page it looks like it might only have prebuilt binaries for 32bit Windows, and only Node v4.6.x to v5.9.x
(I'm guessing it went thru the whole build process, not just had some weird dependency that it failed on for some reason)
Priyanshu SInha
anyone used robotjs with remote desktop?
like as it works (keyTap, typeString) etc, on native machine, but when that machine is accessed remotely, it fails
any idea?
Isaiah Odhner
@pk_sinha_1997_twitter You could try running robotjs on the remote machine, with proxying the API with an RPC module, hopefully over SSH
Priyanshu SInha
Ok @1j01 I will look at it. Thanks. :)
Priyanshu SInha
Hi.. I am getting Jasmine async timeout error while uploading file using robotjs.
can anyone tell me why?
Using protractor as my e2e test framework.
It does the necessary task but gives async timeout error, due to which my test fails
Teu Tio
Hey guys, how can i get the coordinates of an application. I need that to start the pointer in specific application, how can i do this?
Priyanshu SInha
Hi! Can anyone help me with how to drag application window?
I can try shortcut Alt+Space -> M -> Arrow Key, but that's quite inefficient IMO. I actually don't know how much shoudl arrow key be tapped.
Isaiah Odhner
If you only need Windows support, you could try https://www.npmjs.com/package/winctl
@_eitatio_twitter There's win.dimensions() @pk_sinha_1997_twitter and win.move/moveRelative
(disclaimer: haven't tried it myself)
Priyanshu SInha
Ok @1j01 I will look at it. Looks like this package is not maintained and no releases yet.
how to adjust screen capture png quality
Priyanshu SInha
Hi! Can we control web application through robot js?
Isaiah Odhner
@pk_sinha_1997_twitter I don't think that's within the scope of RobotJS, but you might be interested in TagUI, TamperMonkey (perhaps with an API thru HTTP with a webserver in Node.js if you need to control it from Node.js), or testing automation systems/platforms (of which there are quite a few)
Priyanshu SInha
@1j01 This will not fit in my needs. Anyways thanks
Isaiah Odhner
@pk_sinha_1997_twitter I listed three options. What are your needs? With tampermonkey and a
With a tampermonkey script in the browser, and a webserver in nodejs, you could definitely control a web application from a robot.js script (i.e. nodejs)
@octalmage I have one problem with robotjs keyTap feature , want to paste data on Mac OS X virtual machine but 'command'+v combination giving previous clipboard
Anthony Stabile
Has anyone gotten it working with ubuntu 18.04.1 on node 10.11?
Pranav Gupta
I am having an error installing windows build tools . It says some "older version of MSI is installed please uninstall first". I am using latest node and win10 64 bit .
Any help is appreciated🙂
Can Do
n-api has come
Maximus Blackbourne

Does anyone know of a good approach to selecting elements by automationID? I am also looking to interact with a button that requires a "hover-over" The application is a Windows WPF using Telerik.

I have been playing around with windows Automation but it is awfully cumbersome.

Maximus Blackbourne
Any way to invoke a button via the name?
Richard Lea
Hi, when would it be available to get the builds for node 10 +?
I faced a problem when using the mouse function in windows 10 --- i.e. robotjs.node is not a valid Win32 application.
Yomi Adenaike
Hi, i currently run Ubuntu on the latest version when trying to run robotjs it doesn't seem to work because of node version conflicts, i'm trying to use it with electron. I have tried everything and any help will be greatly appreciated.
Ivan Jeremic
Hello All! I have no idea if this could work but in an Electron I can create additional new BrowserWindows on button click. Is it possible with Robotjs to target this new created Window and automate it?