All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.applitools.eyes.selenium.fluent.AccessibilityRegionByTargetPathLocator Maven / Gradle / Ivy

There is a newer version: 5.74.0
Show newest version
package com.applitools.eyes.selenium.fluent;

import com.applitools.eyes.AccessibilityRegionType;
import com.applitools.eyes.fluent.GetRegion;
import com.applitools.eyes.fluent.IGetAccessibilityRegionType;
import com.applitools.eyes.selenium.TargetPathLocator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class AccessibilityRegionByTargetPathLocator implements GetRegion, IGetAccessibilityRegionType {

    protected final AccessibilityRegionType regionType;
    protected final TargetPathLocator targetPathLocator;

    public AccessibilityRegionByTargetPathLocator(TargetPathLocator targetPathLocator, AccessibilityRegionType regionType) {
        this.targetPathLocator = targetPathLocator;
        this.regionType = regionType;
    }

    @Override
    public AccessibilityRegionType getAccessibilityRegionType() {
        return regionType;
    }


    @JsonProperty("targetPathLocator")
    public TargetPathLocator getTargetPathLocator() {
        return targetPathLocator;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy