Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonasVali committed Sep 18, 2021
1 parent 5bdf0aa commit cfdf03d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ In `MouseInfoAccessor` you need to implement the `getMousePosition()` method to

And that's basically it, rest is handled by NaturalMouseMotion internals.

### I want to run NaturalMouseMotion in a headless environment

See previous section. You need to provide your own `SystemCalls` and `MouseInfoAccessor` objects.
If you attempt to use default implementations in a headless environment, then `java.awt.AWTException` will be thrown.

## Troubleshooting

### The mouse gets stuck trying to move to destination or won't end up on correct pixel.
Expand Down

0 comments on commit cfdf03d

Please sign in to comment.