com.applitools.eyes.selenium.fluent.Target Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-java3-jboss Show documentation
Show all versions of eyes-selenium-java3-jboss Show documentation
Applitools Eyes SDK for Selenium Java WebDriver
package com.applitools.eyes.selenium.fluent;
import com.applitools.eyes.Region;
import com.applitools.eyes.fluent.ICheckSettings;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
public class Target {
public static SeleniumCheckSettings window()
{
return new SeleniumCheckSettings();
}
public static SeleniumCheckSettings region(Region region)
{
return new SeleniumCheckSettings(region);
}
public static SeleniumCheckSettings region(By by)
{
return new SeleniumCheckSettings(by);
}
public static SeleniumCheckSettings region(WebElement webElement)
{
return new SeleniumCheckSettings(webElement);
}
public static SeleniumCheckSettings frame(By by)
{
SeleniumCheckSettings settings = new SeleniumCheckSettings();
settings.frame(by);
return settings;
}
public static SeleniumCheckSettings frame(String frameNameOrId)
{
SeleniumCheckSettings settings = new SeleniumCheckSettings();
settings.frame(frameNameOrId);
return settings;
}
public static SeleniumCheckSettings frame(int index)
{
SeleniumCheckSettings settings = new SeleniumCheckSettings();
settings.frame(index);
return settings;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy