MoveByOffset is really slow

26 views
Skip to first unread message

Beny Katz

unread,
Nov 28, 2022, 1:07:01 AM11/28/22
to Selenium Users
Hi,

I have c# code that integrate with mouse moves and it's really really slow. The following simple code that moving the mouse few pixels from the current position by calling MoveByOffset is taking ~250-350ms. I tried on many computers and it's the same. Why is it so slow? Can it be improved anyhow? I also tried to add movebyoffset actions and run once perform but it's still the same.

The code is quite simple:
Actions actions = new Actions(driver);
actions.MoveByOffset(2, 3).Perform();


Thank you.
Reply all
Reply to author
Forward
0 new messages