List of usage examples for org.openqa.selenium By subclass-usage
From source file org.jwatter.browser.finders.ByElementFilter.java
/**
* A locating mechanism that first retrieves elements using a base locating
* mechanism and then applies a filter to the list of elements and returns the
* list of elements that pass the filter. A concrete subclass of this class must
* implement the {@link #accept(WebElement)} method that is used by the filter.
*
From source file org.oneandone.qxwebdriver.By.java
public abstract class By extends org.openqa.selenium.By { public WebElement findElement(SearchContext context) { return null; }
From source file org.seleniumhq.selenium.fluent.FluentBy.java
/**
* <p>
* Mechanism used to locate elements within a document. In order to create your own locating
* mechanisms, it is possible to subclass this class and override the protected methods as required,
* though it is expected that that all subclasses rely on the basic finding mechanisms provided
* through static methods of this class:
From source file org.senchalabs.gwt.gwtdriver.by.ByNearestWidget.java
/**
* GWT-specific {@code By} implementation that looks at the current search context and above for the
* nearest containing Widget object, and returns the root element of that widget. Always returns
* one item, even if multiple items are requested by {@link FindElements}.
* <p>
* To check if the current element is a widget, use {@link ByWidget} instead. If searching for a
From source file org.senchalabs.gwt.gwtdriver.by.ByWidget.java
/**
* GWT-specific {@code By} implementation that looks for widgets that in the current search context.
* Use in conjunction with other {@code By} statements to look for widgets that match a certain
* criteria.
*
*/
From source file org.senchalabs.gwt.gwtdriver.by.CheatingByChained.java
/**
* When looking for only one item, cheats by only looking for one item at each level. Useful only if
* you want the first result of each {@link By} operation, otherwise use {@link FasterByChained} or
* {@link ByChained}.
* <p>
* When running {@link FindElements} to search for multiple items, uses ByChained normal.
From source file org.senchalabs.gwt.gwtdriver.by.FasterByChained.java
/**
* When looking for only one item, speeds up the last By in the chain by only running it until it
* finds something.
* <p>
* When using {@link FindElements}, uses ByChained to find all possible elements as normal.
* <p>
From source file ru.st.selenium.elements.ExtBy.java
public class ExtBy extends By { private final String selector; public static By sizzle(final String selector) { return new ExtBy(selector);
From source file selenium.ByCssSelectorOrByNameOrById.java
public class ByCssSelectorOrByNameOrById extends By implements Serializable { private static final long serialVersionUID = -3910258723099459239L; private final String selector; public ByCssSelectorOrByNameOrById(String selector) {
From source file util.selenium.ByCssSelectorOrByNameOrById.java
public class ByCssSelectorOrByNameOrById extends By implements Serializable { private static final long serialVersionUID = -3910258723099459239L; private final String selector; public ByCssSelectorOrByNameOrById(String selector) {