public class EyesAppiumDriver extends EyesWebDriver
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Windowlogger| Constructor and Description |
|---|
EyesAppiumDriver(com.applitools.eyes.Logger logger,
Eyes eyes,
io.appium.java_client.AppiumDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
executeAsyncScript(String script,
Object... args) |
Object |
executeScript(String script,
Object... args) |
EyesAppiumElement |
findElement(org.openqa.selenium.By by) |
org.openqa.selenium.WebElement |
findElementByClassName(String className) |
org.openqa.selenium.WebElement |
findElementByCssSelector(String cssSelector) |
org.openqa.selenium.WebElement |
findElementById(String id) |
org.openqa.selenium.WebElement |
findElementByLinkText(String linkText) |
org.openqa.selenium.WebElement |
findElementByName(String name) |
org.openqa.selenium.WebElement |
findElementByPartialLinkText(String partialLinkText) |
org.openqa.selenium.WebElement |
findElementByTagName(String tagName) |
org.openqa.selenium.WebElement |
findElementByXPath(String path) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
List<org.openqa.selenium.WebElement> |
findElementsByClassName(String className) |
List<org.openqa.selenium.WebElement> |
findElementsByCssSelector(String cssSelector) |
List<org.openqa.selenium.WebElement> |
findElementsById(String id) |
List<org.openqa.selenium.WebElement> |
findElementsByLinkText(String linkText) |
List<org.openqa.selenium.WebElement> |
findElementsByName(String name) |
List<org.openqa.selenium.WebElement> |
findElementsByPartialLinkText(String partialLinkText) |
List<org.openqa.selenium.WebElement> |
findElementsByTagName(String tagName) |
List<org.openqa.selenium.WebElement> |
findElementsByXPath(String path) |
void |
get(String url) |
org.openqa.selenium.Capabilities |
getCapabilities() |
String |
getCurrentUrl() |
com.applitools.eyes.RectangleSize |
getDefaultContentViewportSize()
|
com.applitools.eyes.RectangleSize |
getDefaultContentViewportSize(boolean forceQuery) |
int |
getDeviceHeight() |
protected double |
getDevicePixelRatioInner() |
Map<String,org.openqa.selenium.WebElement> |
getElementIds() |
String |
getPageSource() |
io.appium.java_client.AppiumDriver |
getRemoteWebDriver() |
ImageRotation |
getRotation() |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> xOutputType) |
int |
getStatusBarHeight() |
Map<String,Integer> |
getSystemBarsHeights() |
String |
getTitle() |
int |
getViewportHeight() |
HashMap<String,Integer> |
getViewportRect() |
String |
getWindowHandle() |
Set<String> |
getWindowHandles() |
org.openqa.selenium.WebDriver.Options |
manage() |
org.openqa.selenium.WebDriver.Navigation |
navigate() |
void |
quit() |
void |
setRotation(ImageRotation rotation) |
org.openqa.selenium.WebDriver.TargetLocator |
switchTo() |
getDevicePixelRatio, getEyesBase, getTestIdpublic EyesAppiumDriver(com.applitools.eyes.Logger logger,
Eyes eyes,
io.appium.java_client.AppiumDriver driver)
public io.appium.java_client.AppiumDriver getRemoteWebDriver()
getRemoteWebDriver in class EyesWebDriverpublic ImageRotation getRotation()
public void setRotation(ImageRotation rotation)
rotation - The image rotation model.public int getViewportHeight()
public int getDeviceHeight()
protected double getDevicePixelRatioInner()
getDevicePixelRatioInner in class EyesWebDriverpublic int getStatusBarHeight()
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebDriverfindElements in class EyesWebDriverpublic EyesAppiumElement findElement(org.openqa.selenium.By by)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebDriverfindElement in class EyesWebDriverpublic org.openqa.selenium.WebElement findElementByClassName(String className)
public List<org.openqa.selenium.WebElement> findElementsByClassName(String className)
public org.openqa.selenium.WebElement findElementByCssSelector(String cssSelector)
public List<org.openqa.selenium.WebElement> findElementsByCssSelector(String cssSelector)
public org.openqa.selenium.WebElement findElementById(String id)
public org.openqa.selenium.WebElement findElementByLinkText(String linkText)
public List<org.openqa.selenium.WebElement> findElementsByLinkText(String linkText)
public org.openqa.selenium.WebElement findElementByPartialLinkText(String partialLinkText)
public List<org.openqa.selenium.WebElement> findElementsByPartialLinkText(String partialLinkText)
public org.openqa.selenium.WebElement findElementByName(String name)
public org.openqa.selenium.WebElement findElementByTagName(String tagName)
public List<org.openqa.selenium.WebElement> findElementsByTagName(String tagName)
public org.openqa.selenium.WebElement findElementByXPath(String path)
public org.openqa.selenium.Capabilities getCapabilities()
public com.applitools.eyes.RectangleSize getDefaultContentViewportSize(boolean forceQuery)
forceQuery - If true, we will perform the query even if we have a cached viewport size.public com.applitools.eyes.RectangleSize getDefaultContentViewportSize()
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> xOutputType)
throws org.openqa.selenium.WebDriverException
org.openqa.selenium.WebDriverExceptionpublic String getPageSource()
public void close()
public void quit()
public String getWindowHandle()
public org.openqa.selenium.WebDriver.TargetLocator switchTo()
public org.openqa.selenium.WebDriver.Navigation navigate()
public org.openqa.selenium.WebDriver.Options manage()
public void get(String url)
public String getCurrentUrl()
public String getTitle()
Copyright © 2022. All rights reserved.