public interface IElementFactory
| Modifier and Type | Method and Description |
|---|---|
default <T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
Class<T> clazz)
Finds child element existing in any state by its locator relative to parent element.
|
default <T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
Class<T> clazz,
ElementState state)
Finds child element by its locator relative to parent element.
|
default <T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
IElementSupplier<T> supplier)
Finds child element existing in any state by its locator relative to parent element.
|
default <T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
IElementSupplier<T> supplier,
ElementState state)
Finds child element by its locator relative to parent element.
|
default <T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
Class<T> clazz)
Finds displayed child element by its locator relative to parent element.
|
<T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
Class<T> clazz,
ElementState state)
Finds child element by its locator relative to parent element.
|
default <T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
IElementSupplier<T> supplier)
Finds child element existing in any state by its locator relative to parent element.
|
<T extends IElement> |
findChildElement(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
IElementSupplier<T> supplier,
ElementState state)
Finds child element by its locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
Class<T> clazz)
Finds displayed child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
Class<T> clazz,
ElementsCount count)
Finds displayed child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
Class<T> clazz,
ElementsCount count,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
Class<T> clazz,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
IElementSupplier<T> supplier)
Finds displayed child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
IElementSupplier<T> supplier,
ElementsCount count)
Finds displayed child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
IElementSupplier<T> supplier,
ElementsCount count,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
IElementSupplier<T> supplier,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
Class<T> clazz)
Finds displayed child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
Class<T> clazz,
ElementsCount count)
Finds displayed child elements by their locator relative to parent element.
|
<T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
Class<T> clazz,
ElementsCount count,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
Class<T> clazz,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
IElementSupplier<T> supplier)
Finds displayed child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
IElementSupplier<T> supplier,
ElementsCount count)
Finds displayed child elements by their locator relative to parent element.
|
<T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
IElementSupplier<T> supplier,
ElementsCount count,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findChildElements(IElement parentElement,
org.openqa.selenium.By childLoc,
String name,
IElementSupplier<T> supplier,
ElementState state)
Finds child elements by their locator relative to parent element.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
Class<T> clazz)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
Class<T> clazz,
ElementsCount count)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
Class<T> clazz,
ElementsCount count,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
Class<T> clazz,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
IElementSupplier<T> supplier,
ElementsCount count,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
IElementSupplier<T> supplier,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
Class<T> clazz)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
Class<T> clazz,
ElementsCount count)
Find list of elements.
|
<T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
Class<T> clazz,
ElementsCount count,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
Class<T> clazz,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
IElementSupplier<T> supplier)
Find list of displayed elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
IElementSupplier<T> supplier,
ElementsCount count)
Find list of displayed elements.
|
<T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
IElementSupplier<T> supplier,
ElementsCount count,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
findElements(org.openqa.selenium.By locator,
String name,
IElementSupplier<T> supplier,
ElementState state)
Find list of elements.
|
default <T extends IElement> |
getCustomElement(Class<T> clazz,
org.openqa.selenium.By locator,
String name)
Create custom element according to passed parameters.
|
<T extends IElement> |
getCustomElement(Class<T> clazz,
org.openqa.selenium.By locator,
String name,
ElementState state)
Create custom element according to passed parameters.
|
default <T extends IElement> |
getCustomElement(IElementSupplier<T> elementSupplier,
org.openqa.selenium.By locator,
String name)
Create custom element according to passed parameters.
|
<T extends IElement> |
getCustomElement(IElementSupplier<T> elementSupplier,
org.openqa.selenium.By locator,
String name,
ElementState state)
Create custom element according to passed parameters.
|
default <T extends IElement> T getCustomElement(IElementSupplier<T> elementSupplier, org.openqa.selenium.By locator, String name)
T - Type of the target element.elementSupplier - Delegate that defines constructor of element.locator - Locator of the target element.name - Name of the target element.<T extends IElement> T getCustomElement(IElementSupplier<T> elementSupplier, org.openqa.selenium.By locator, String name, ElementState state)
T - Type of the target element.elementSupplier - Delegate that defines constructor of element.locator - Locator of the target element.name - Name of the target element.state - Visibility state of the target element.default <T extends IElement> T getCustomElement(Class<T> clazz, org.openqa.selenium.By locator, String name)
T - Type of the target element.clazz - Class or interface of the element to be obtained.locator - Locator of the target element.name - Name of the target element.<T extends IElement> T getCustomElement(Class<T> clazz, org.openqa.selenium.By locator, String name, ElementState state)
T - Type of the target element.clazz - Class or interface of the element to be obtained.locator - Locator of the target element.name - Name of the target element.state - Visibility state of the target element.<T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, String name, Class<T> clazz, ElementState state)
T - Type of the target element.childLoc - Locator of child element relative to its parent.clazz - Class or interface of the element to be obtained.name - Child element name.parentElement - Parent element for relative search of child element.state - Visibility state of target element.default <T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, String name, Class<T> clazz)
T - Type of the target element.childLoc - Locator of child element relative to its parent.clazz - Class or interface of the element to be obtained.name - Child element name.parentElement - Parent element for relative search of child element.default <T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, Class<T> clazz, ElementState state)
T - Type of the target element.childLoc - Locator of child element relative to its parent.clazz - Class or interface of the element to be obtained.parentElement - Parent element for relative search of child element.state - Visibility state of child element.default <T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, Class<T> clazz)
T - Type of the target element.childLoc - Locator of child element relative to its parent.clazz - Class or interface of the element to be obtained.parentElement - Parent element for relative search of child element.default <T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, String name, IElementSupplier<T> supplier)
T - Type of the target element.childLoc - Locator of child element relative to its parent.supplier - Required element's supplier.name - Child element name.parentElement - Parent element for relative search of child element.<T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, String name, IElementSupplier<T> supplier, ElementState state)
T - Type of the target element.childLoc - Locator of child element relative to its parent.supplier - Required element's supplier.name - Child element name.parentElement - Parent element for relative search of child element.state - Visibility state of child element.default <T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, IElementSupplier<T> supplier, ElementState state)
T - Type of the target element.childLoc - Locator of child element relative to its parent.supplier - Required element's supplier.parentElement - Parent element for relative search of child element.state - Visibility state of child element.default <T extends IElement> T findChildElement(IElement parentElement, org.openqa.selenium.By childLoc, IElementSupplier<T> supplier)
T - Type of the target element.childLoc - Locator of child element relative to its parent.supplier - Required element's supplier.parentElement - Parent element for relative search of child element.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, Class<T> clazz)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.clazz - Class or interface of the elements to be obtained.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, Class<T> clazz, ElementsCount count)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.clazz - Class or interface of the elements to be obtained.count - Expected number of elements that have to be found (zero, more then zero, any).default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, Class<T> clazz, ElementState state)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.clazz - Class or interface of the elements to be obtained.state - Visibility state of child elements.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, Class<T> clazz, ElementsCount count, ElementState state)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.clazz - Class or interface of the elements to be obtained.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of child elements.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, Class<T> clazz)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.name - Child elements name.clazz - Class or interface of the elements to be obtained.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, Class<T> clazz, ElementsCount count)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.name - Child elements name.clazz - Class or interface of the elements to be obtained.count - Expected number of elements that have to be found (zero, more then zero, any).default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, Class<T> clazz, ElementState state)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.name - Child elements name.clazz - Class or interface of the elements to be obtained.state - Visibility state of child elements.<T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, Class<T> clazz, ElementsCount count, ElementState state)
T - Type of the target elements.childLoc - Locator of child elements relative to its parent.clazz - Class or interface of the elements to be obtained.name - Child elements name.parentElement - Parent element for relative search of child elements.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of target elements.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, IElementSupplier<T> supplier)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.supplier - Required elements' supplier.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, IElementSupplier<T> supplier, ElementsCount count)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.supplier - Required elements' supplier.count - Expected number of elements that have to be found (zero, more then zero, any).default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, IElementSupplier<T> supplier, ElementState state)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.supplier - Required elements' supplier.state - Visibility state of child elements.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, IElementSupplier<T> supplier, ElementsCount count, ElementState state)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.supplier - Required elements' supplier.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of child elements.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, IElementSupplier<T> supplier)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.name - Child elements name.supplier - Required elements' supplier.default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, IElementSupplier<T> supplier, ElementsCount count)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.name - Child elements name.supplier - Required elements' supplier.count - Expected number of elements that have to be found (zero, more then zero, any).default <T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, IElementSupplier<T> supplier, ElementState state)
parentElement - Parent element for relative search of child elements.childLoc - Locator of child elements relative to its parent.name - Child elements name.supplier - Required elements' supplier.state - Visibility state of child elements.<T extends IElement> List<T> findChildElements(IElement parentElement, org.openqa.selenium.By childLoc, String name, IElementSupplier<T> supplier, ElementsCount count, ElementState state)
T - Type of the target elements.childLoc - Locator of child elements relative to its parent.supplier - Required elements' supplier.name - Child elements name.parentElement - Parent element for relative search of child elements.state - Visibility state of child elements.<T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, IElementSupplier<T> supplier, ElementsCount count, ElementState state)
T - Type of the target element.locator - Elements selector.name - Child element name.supplier - Required elements' supplier.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, IElementSupplier<T> supplier, ElementState state)
T - Type of the target element.locator - Elements selector.name - Child element name.supplier - Required elements' supplier.state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, IElementSupplier<T> supplier, ElementState state)
T - Type of the target element.locator - Elements selector.supplier - Required elements' supplier.state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, IElementSupplier<T> supplier, ElementsCount count)
T - Type of the target element.locator - Elements selector.name - Child element name.supplier - Required elements' supplier.count - Expected number of elements that have to be found (zero, more then zero, any).default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, IElementSupplier<T> supplier)
T - Type of the target element.locator - Elements selector.name - Child element name.supplier - Required elements' supplier.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, IElementSupplier<T> supplier, ElementsCount count, ElementState state)
T - Type of the target element.locator - Elements selector.supplier - Required elements' supplier.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of target elements.<T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, Class<T> clazz, ElementsCount count, ElementState state)
T - Type of the target element.locator - Elements selector.name - Child element name.clazz - Class or interface of the element to be obtained.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, Class<T> clazz, ElementState state)
T - Type of the target element.locator - Elements selector.name - Child element name.clazz - Class or interface of the element to be obtained.state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, Class<T> clazz, ElementsCount count, ElementState state)
T - Type of the target element.locator - Elements selector.clazz - Class or interface of the element to be obtained.count - Expected number of elements that have to be found (zero, more then zero, any).state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, Class<T> clazz, ElementState state)
T - Type of the target element.locator - Elements selector.clazz - Class or interface of the element to be obtained.state - Visibility state of target elements.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, Class<T> clazz)
T - Type of the target element.locator - Elements selector.clazz - Class or interface of elements to be obtained.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, Class<T> clazz, ElementsCount count)
T - Type of the target element.locator - Elements selector.clazz - Class or interface of elements to be obtained.name - Child element name.count - Expected number of elements that have to be found (zero, more then zero, any).default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, String name, Class<T> clazz)
T - Type of the target element.locator - Elements selector.name - Child element name.clazz - Class or interface of elements to be obtained.default <T extends IElement> List<T> findElements(org.openqa.selenium.By locator, Class<T> clazz, ElementsCount count)
T - Type of the target element.locator - Elements selector.clazz - Class or interface of elements to be obtained.count - Expected number of elements that have to be found (zero, more then zero, any).Copyright © 2020. All rights reserved.