ru.yandex.qatools.ashot.coordinates.JqueryCoordsProvider Maven / Gradle / Ivy
package ru.yandex.qatools.ashot.coordinates;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import ru.yandex.qatools.ashot.util.JsCoords;
/**
* @author pazone
*/
public class JqueryCoordsProvider extends CoordsProvider {
public Coords ofElement(WebDriver driver, WebElement element) {
return JsCoords.findCoordsWithJquery(driver, element);
}
}