Class ByCoordinates


  • public class ByCoordinates
    extends org.openqa.selenium.By
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.openqa.selenium.By

        org.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath
    • Constructor Summary

      Constructors 
      Constructor Description
      ByCoordinates​(int x, int y)  
      ByCoordinates​(org.openqa.selenium.WebDriver driver, int x, int y)
      checks driver for inequality and decides if its used or webdriver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext searchContext)  
      • Methods inherited from class org.openqa.selenium.By

        className, cssSelector, equals, findElement, hashCode, id, linkText, name, partialLinkText, tagName, toString, xpath
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ByCoordinates

        public ByCoordinates​(org.openqa.selenium.WebDriver driver,
                             int x,
                             int y)
        checks driver for inequality and decides if its used or webdriver
        Parameters:
        driver - .
        x - .
        y - .
      • ByCoordinates

        public ByCoordinates​(int x,
                             int y)
        Parameters:
        x - .
        y - .
    • Method Detail

      • findElements

        public java.util.List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext searchContext)
        Specified by:
        findElements in class org.openqa.selenium.By