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

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

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

import com.applitools.eyes.DynamicTextType;
import com.applitools.eyes.GetDynamicTextType;
import com.applitools.eyes.serializers.WebElementSerializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.openqa.selenium.WebElement;

public class DynamicRegionByElement extends GetDynamicTextType {

    @JsonSerialize(using = WebElementSerializer.class)
    protected final WebElement element;

    public DynamicRegionByElement(WebElement element, DynamicTextType ... textTypes) {
        super(textTypes);
        this.element = element;
    }

    @JsonProperty("element")
    public WebElement getElement() {
        return element;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy