uk.sponte.automation.seleniumpom.proxies.handlers.PageSectionListHandler Maven / Gradle / Ivy
package uk.sponte.automation.seleniumpom.proxies.handlers;
import com.google.inject.Provider;
import org.openqa.selenium.By;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.internal.Locatable;
import uk.sponte.automation.seleniumpom.PageElementImpl;
import uk.sponte.automation.seleniumpom.PageFactory;
import uk.sponte.automation.seleniumpom.PageSection;
import uk.sponte.automation.seleniumpom.configuration.Constants;
import uk.sponte.automation.seleniumpom.dependencies.DependencyInjector;
import uk.sponte.automation.seleniumpom.helpers.FrameWrapper;
import uk.sponte.automation.seleniumpom.helpers.ReflectionHelper;
import uk.sponte.automation.seleniumpom.orchestration.WebDriverFrameSwitchingOrchestrator;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
/**
* Invocation handler for page section lists
* Created by n450777 on 08/04/15.
*/
public class PageSectionListHandler
implements InvocationHandler, Refreshable {
private DependencyInjector driver;
private SearchContext searchContext;
private By by;
private Type pageSectionType;
private Provider pageFactory;
private FrameWrapper frame;
private WebDriverFrameSwitchingOrchestrator webDriverOrchestrator;
private ArrayList
© 2015 - 2024 Weber Informatics LLC | Privacy Policy