From 49cc03f5296669cad652ae4ea71e7b118158d3ea Mon Sep 17 00:00:00 2001 From: Jason Stallings Date: Sat, 24 Oct 2015 13:21:56 -0500 Subject: [PATCH] Log mouse positions to help debug. --- test/mouse.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mouse.js b/test/mouse.js index c325e76c..7dae0e3a 100644 --- a/test/mouse.js +++ b/test/mouse.js @@ -19,6 +19,8 @@ test('Move the mouse.', function(t) lastKnownPos = robot.moveMouse(0, 0); t.ok(robot.moveMouse(100, 100), 'successfully moved the mouse.'); currentPos = robot.getMousePos(); + console.log("lastKnownPos: " + lastKnownPos); + console.log("currentPos: " + currentPos); t.ok(currentPos.x === 100, 'mousepos.x is correct.'); t.ok(currentPos.y === 100, 'mousepos.y is correct.'); });