moveByOffset(int xOffset, int yOffset) works differently about time cost on Windows and CentOS

23 views
Skip to first unread message

Shujie Liao

unread,
Feb 22, 2017, 3:14:37 PM2/22/17
to Selenium Users
The method --- Actions org.openqa.selenium.interactions.Actions.moveByOffset(int xOffset, int yOffset) 
 takes 40 milliseconds longer on CentOS 6.5  than it takes on Windows10 on average.  
Here is one of the test results: 
CentOS 6.5: (ms)
{45} {52} {58} {50} {47} {48} {53} {53} {56} {49} {50} {47} {53} {50} {50} {56}

Windows 10: (ms)
{15} {15} {12} {12} {11} {13} {12} {11} {12} {11} {12} {11} {19} {19} {18} {20}

Selenium version : both 3.0.1
Is there any solution to improve the method performance on CentOS?

Beny Katz

unread,
Nov 28, 2022, 4:50:49 AM11/28/22
to Selenium Users
Were you able to find any solution? using Windows it takes now 250-300ms (Webdriver 4.6.0)
Reply all
Reply to author
Forward
0 new messages