Uses of Interface
org.openqa.selenium.SearchContext
Package
Description
-
Uses of SearchContext in org.openqa.selenium
Modifier and TypeInterfaceDescriptioninterface
WebDriver is a remote control interface that enables introspection and control of user agents (browsers).interface
Represents an HTML element.Modifier and TypeMethodDescriptionBy.findElement
(SearchContext context) Find a single element.abstract List<WebElement>
By.findElements
(SearchContext context) Find many elements.protected JavascriptExecutor
By.getJavascriptExecutor
(SearchContext context) protected WebDriver
By.getWebDriver
(SearchContext context) -
Uses of SearchContext in org.openqa.selenium.chrome
Modifier and TypeClassDescriptionclass
AWebDriver
implementation that controls a Chrome browser running on the local machine. -
Uses of SearchContext in org.openqa.selenium.chromium
Modifier and TypeClassDescriptionclass
AWebDriver
implementation that controls a Chromium browser running on the local machine. -
Uses of SearchContext in org.openqa.selenium.edge
Modifier and TypeClassDescriptionclass
AWebDriver
implementation that controls an Edge browser running on the local machine. -
Uses of SearchContext in org.openqa.selenium.firefox
Modifier and TypeClassDescriptionclass
An implementation of the {#link WebDriver} interface that drives Firefox. -
Uses of SearchContext in org.openqa.selenium.ie
-
Uses of SearchContext in org.openqa.selenium.remote
Modifier and TypeMethodDescriptionRemoteWebDriver.findElements
(SearchContext context, BiFunction<String, Object, CommandPayload> findCommand, By locator) protected void
RemoteWebDriver.setFoundBy
(SearchContext context, WebElement element, String by, String using) protected void
RemoteWebElement.setFoundBy
(SearchContext foundFrom, String locator, String term) -
Uses of SearchContext in org.openqa.selenium.safari
Modifier and TypeClassDescriptionclass
A WebDriver implementation that controls Safari using a browser extension (consequently, only Safari 5.1+ is supported). -
Uses of SearchContext in org.openqa.selenium.support
Modifier and TypeMethodDescriptionByIdOrName.findElement
(SearchContext context) ByIdOrName.findElements
(SearchContext context) static <T> T
PageFactory.initElements
(SearchContext searchContext, Class<T> pageClassToProxy) Instantiate an instance of the given class, and set a lazy proxy for each of the WebElement and List<WebElement> fields that have been declared, assuming that the field name is also the HTML element's "id" or "name".static void
PageFactory.initElements
(SearchContext searchContext, Object page) AsPageFactory.initElements(SearchContext, Class)
but will only replace the fields of an already instantiated Page Object. -
Uses of SearchContext in org.openqa.selenium.support.locators
-
Uses of SearchContext in org.openqa.selenium.support.pagefactory
Modifier and TypeMethodDescriptionByAll.findElement
(SearchContext context) ByChained.findElement
(SearchContext context) ByAll.findElements
(SearchContext context) ByChained.findElements
(SearchContext context) ModifierConstructorDescriptionAjaxElementLocator
(Clock clock, SearchContext context, int timeOutInSeconds, AbstractAnnotations annotations) AjaxElementLocator
(Clock clock, SearchContext searchContext, Field field, int timeOutInSeconds) AjaxElementLocator
(SearchContext context, int timeOutInSeconds, AbstractAnnotations annotations) Use this constructor in order to process custom annotations.AjaxElementLocator
(SearchContext searchContext, Field field, int timeOutInSeconds) Main constructor.AjaxElementLocatorFactory
(SearchContext searchContext, int timeOutInSeconds) DefaultElementLocator
(SearchContext searchContext, Field field) Creates a new element locator.DefaultElementLocator
(SearchContext searchContext, AbstractAnnotations annotations) Use this constructor in order to process custom annotations.DefaultElementLocatorFactory
(SearchContext searchContext)