Class WebElementLocator

java.lang.Object
net.serenitybdd.screenplay.actions.WebElementLocator

public class WebElementLocator
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    WebElementLocator​(java.util.List<org.openqa.selenium.By> locators)  
  • Method Summary

    Modifier and Type Method Description
    org.openqa.selenium.WebElement andActor​(Actor theUser)  
    static WebElementLocator forLocators​(java.util.List<org.openqa.selenium.By> locators)  

    Methods inherited from class java.lang.Object

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

    • WebElementLocator

      public WebElementLocator​(java.util.List<org.openqa.selenium.By> locators)
  • Method Details

    • forLocators

      public static WebElementLocator forLocators​(java.util.List<org.openqa.selenium.By> locators)
    • andActor

      public org.openqa.selenium.WebElement andActor​(Actor theUser)