Bug 4339: Fixed offset calculations

This commit is contained in:
Steffen Schaefer committed 2018-04-24 14:29:03 +02:00
1 parent f64795c71c
commit fceb69d849
1 file changed
+1 -1
@@ -95,7 +95,7 @@ public class DataEntryPO extends CellTableRowPO {
private void moveToUpperLeftCorner(Actions actions, WebElement webElement) {
actions.moveToElement(webElement);
final Dimension size = webElement.getSize();
actions.moveByOffset(-size.width / 2 - 1, -size.height / 2 - 1);
actions.moveByOffset(-size.width / 2 + 1, -size.height / 2 + 1);
}
/**