com.epam.healenium.model.Context Maven / Gradle / Ivy
The newest version!
package com.epam.healenium.model;
import com.epam.healenium.treecomparing.Node;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class Context {
private By by;
private NoSuchElementException noSuchElementException;
private ReferenceElementsDto referenceElementsDto;
private List unsuccessfulLocators;
private String pageContent;
private Locator userLocator;
private String currentUrl;
private String urlKey;
private List elements = new ArrayList<>();
private List elementIds = new ArrayList<>();
private List healingResults = new ArrayList<>();
private String action;
//ELements
private Map> newElementsToNodes = new HashMap<>();
private Map> existElementsToNodes = new HashMap<>();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy