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

com.applitools.eyes.selenium.universal.dto.SimpleRegionDto Maven / Gradle / Ivy

There is a newer version: 5.73.0
Show newest version
package com.applitools.eyes.selenium.universal.dto;

import com.applitools.eyes.serializers.WebElementSerializer;
import com.applitools.eyes.universal.dto.RegionDto;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.openqa.selenium.WebElement;

/**
 * simple region dto
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SimpleRegionDto {
  private String type;
  private String selector;
  private String elementId;

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

  private RegionDto region;

  public WebElement getElement() {
    return element;
  }

  public void setElement(WebElement element) {
    this.element = element;
  }


  public RegionDto getRegion() {
    return region;
  }

  public void setRegion(RegionDto region) {
    this.region = region;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy