myseleniumtraining
This blog is for Automation Test Engineers
Home
Sunday, 3 September 2017
How to find position of cursor in window
Pointerinfo c=Mouseinfo.getPointerinfo();
Point d=c.getLocation();
int a=(int)d.getA();
int b=(int)d.getB();
System.out.println(a+","+b);
}
Email This
BlogThis!
Share to X
Share to Facebook
By Chai on September 03, 2017
1
Newer Post
Older Post
Home
1 comment:
Anonymous
3 May 2022 at 06:40
Very informative post
Reply
Delete
Replies
Reply
Add comment
Load more...
Subscribe to:
Post Comments (Atom)
Very informative post
ReplyDelete