public int getCursorPosition(ElementLocator<?> elementLocator) {
return selenium.getCursorPosition(elementLocator.getAsString()).intValue();
}
public Dimension getElementDimension(ElementLocator<?> elementLocator) {
return new Dimension(getElementHeight(elementLocator), getElementWidth(elementLocator));
}