com.applitools.eyes.selenium.fluent.SimpleRegionByTargetPathLocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-java5 Show documentation
Show all versions of eyes-selenium-java5 Show documentation
Applitools Eyes SDK for Selenium Java WebDriver
package com.applitools.eyes.selenium.fluent;
import com.applitools.eyes.Padding;
import com.applitools.eyes.fluent.GetRegion;
import com.applitools.eyes.selenium.TargetPathLocator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SimpleRegionByTargetPathLocator implements GetRegion {
protected final TargetPathLocator targetPathLocator;
@JsonIgnore
// protected final Borders padding;
protected final Padding padding;
private String regionId;
public SimpleRegionByTargetPathLocator(TargetPathLocator targetPath) {
this(targetPath, new Padding());
}
public SimpleRegionByTargetPathLocator(TargetPathLocator targetPath, Padding padding) {
this.targetPathLocator = targetPath;
this.padding = padding;
}
@JsonProperty("targetPathLocator")
public TargetPathLocator getTargetPathLocator() {
return targetPathLocator;
}
public SimpleRegionByTargetPathLocator regionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return regionId;
}
public Padding getPadding() { return this.padding; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy