Uses of Interface
org.openqa.selenium.SearchContext
Packages that use SearchContext
Package
Description
-
Uses of SearchContext in org.openqa.selenium
Subinterfaces of SearchContext in org.openqa.seleniumModifier and TypeInterfaceDescriptioninterface
WebDriver is a remote control interface that enables introspection and control of user agents (browsers).interface
Represents an HTML element.Methods in org.openqa.selenium that return SearchContextMethods in org.openqa.selenium with parameters of type SearchContextModifier 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
Classes in org.openqa.selenium.chrome that implement SearchContextModifier and TypeClassDescriptionclass
AWebDriver
implementation that controls a Chrome browser running on the local machine. -
Uses of SearchContext in org.openqa.selenium.chromium
Classes in org.openqa.selenium.chromium that implement SearchContextModifier and TypeClassDescriptionclass
AWebDriver
implementation that controls a Chromium browser running on the local machine. -
Uses of SearchContext in org.openqa.selenium.edge
Classes in org.openqa.selenium.edge that implement SearchContextModifier and TypeClassDescriptionclass
AWebDriver
implementation that controls an Edge browser running on the local machine. -
Uses of SearchContext in org.openqa.selenium.firefox
Classes in org.openqa.selenium.firefox that implement SearchContextModifier and TypeClassDescriptionclass
An implementation of the {#link WebDriver} interface that drives Firefox. -
Uses of SearchContext in org.openqa.selenium.ie
Classes in org.openqa.selenium.ie that implement SearchContext -
Uses of SearchContext in org.openqa.selenium.remote
Classes in org.openqa.selenium.remote that implement SearchContextMethods in org.openqa.selenium.remote that return SearchContextMethods in org.openqa.selenium.remote with parameters of type SearchContextModifier 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
Classes in org.openqa.selenium.safari that implement SearchContextModifier 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
Methods in org.openqa.selenium.support with parameters of type SearchContextModifier 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
Methods in org.openqa.selenium.support.locators with parameters of type SearchContext -
Uses of SearchContext in org.openqa.selenium.support.pagefactory
Methods in org.openqa.selenium.support.pagefactory with parameters of type SearchContextModifier and TypeMethodDescriptionByAll.findElement
(SearchContext context) ByChained.findElement
(SearchContext context) ByAll.findElements
(SearchContext context) ByChained.findElements
(SearchContext context) Constructors in org.openqa.selenium.support.pagefactory with parameters of type SearchContextModifierConstructorDescriptionAjaxElementLocator
(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)