public class ByShadowDom extends By
By.ByButtonTextSelector, By.ByjQuerySelector, By.ByScLocator
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, org.openqa.selenium.By.Remotable
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
static ByShadowDom |
of(String selector) |
String |
toString() |
buttonText, jquery, sclocator
public static ByShadowDom of(String selector)
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements
in class org.openqa.selenium.By
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement
in class org.openqa.selenium.By
public String toString()
toString
in class org.openqa.selenium.By
Copyright © 2021. All rights reserved.