Skip to content

Commit

Permalink
position.value => { x: 100, y: 100 }
Browse files Browse the repository at this point in the history
browser.windowHandlePosition() returns: 
{ sessionId: '789340578923470129384',
  value: { x: 22, y: 23 },
  _status: 0 }
  • Loading branch information
joshlacey authored and christian-bromann committed Jun 13, 2018
1 parent 631a831 commit 9530eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/protocol/windowHandlePosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or of the current window
position = browser.windowHandlePosition();
console.log(position); // outputs: {x: 100, y: 200}
console.log(position.value); // outputs: {x: 100, y: 200}
});
* </example>
*
Expand Down

0 comments on commit 9530eee

Please sign in to comment.