Class TheCoordinates

java.lang.Object
net.serenitybdd.screenplay.questions.TheCoordinates

public class TheCoordinates extends Object
Provides coordinates of an element for advanced interactions. Note that some coordinates (such as screen coordinates) are evaluated lazily since the element may have to be scrolled into view.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.serenitybdd.screenplay.Question<org.openqa.selenium.interactions.Coordinates>
    of(String locator)
     
    static net.serenitybdd.screenplay.Question<org.openqa.selenium.interactions.Coordinates>
    of(Target target)
     
    static net.serenitybdd.screenplay.Question<org.openqa.selenium.interactions.Coordinates>
    of(org.openqa.selenium.By byLocator)
     
    static net.serenitybdd.screenplay.Question<List<org.openqa.selenium.interactions.Coordinates>>
    ofEach(String locator)
     
    static net.serenitybdd.screenplay.Question<List<org.openqa.selenium.interactions.Coordinates>>
    ofEach(Target target)
     
    static net.serenitybdd.screenplay.Question<List<org.openqa.selenium.interactions.Coordinates>>
    ofEach(org.openqa.selenium.By byLocator)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TheCoordinates

      public TheCoordinates()
  • Method Details

    • of

      public static net.serenitybdd.screenplay.Question<org.openqa.selenium.interactions.Coordinates> of(Target target)
    • of

      public static net.serenitybdd.screenplay.Question<org.openqa.selenium.interactions.Coordinates> of(org.openqa.selenium.By byLocator)
    • of

      public static net.serenitybdd.screenplay.Question<org.openqa.selenium.interactions.Coordinates> of(String locator)
    • ofEach

      public static net.serenitybdd.screenplay.Question<List<org.openqa.selenium.interactions.Coordinates>> ofEach(Target target)
    • ofEach

      public static net.serenitybdd.screenplay.Question<List<org.openqa.selenium.interactions.Coordinates>> ofEach(org.openqa.selenium.By byLocator)
    • ofEach

      public static net.serenitybdd.screenplay.Question<List<org.openqa.selenium.interactions.Coordinates>> ofEach(String locator)