Uses of Class
org.openqa.selenium.By
Packages that use By
-
Uses of By in org.openqa.selenium
Subclasses of By in org.openqa.seleniumModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
Methods in org.openqa.selenium that return ByModifier and TypeMethodDescriptionstatic By
Find elements based on the value of the "class" attribute.static By
By.cssSelector
(String cssSelector) Find elements via the driver's underlying W3C Selector engine.static By
static By
static By
static By
By.partialLinkText
(String partialLinkText) static By
static By
Methods in org.openqa.selenium with parameters of type ByModifier and TypeMethodDescriptionSearchContext.findElement
(By by) Find the firstWebElement
using the given method.WebDriver.findElement
(By by) Find the firstWebElement
using the given method.WebElement.findElement
(By by) Find the firstWebElement
using the given method.SearchContext.findElements
(By by) Find all elements within the current context using the given mechanism.WebDriver.findElements
(By by) Find all elements within the current page using the given mechanism.WebElement.findElements
(By by) Find all elements within the current context using the given mechanism.