org.sitoolkit.wt.domain.evidence.appium.MobileNativeElementPositionStartegy Maven / Gradle / Ivy
package org.sitoolkit.wt.domain.evidence.appium;
import org.openqa.selenium.Point;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.sitoolkit.wt.domain.evidence.ElementPositionStrategy;
import org.sitoolkit.wt.domain.evidence.selenium.ElementPositionSupport2;
public class MobileNativeElementPositionStartegy implements ElementPositionStrategy {
@Override
public void init(ElementPositionSupport2 eps, WebDriver driver) {
// NOP
}
@Override
public Point getCurrentBasePosition(WebDriver driver, WebElement currentFrame) {
return new Point(0, 0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy