| Package | Description |
|---|---|
| com.vaadin.testbench | |
| com.vaadin.testbench.commands |
| Modifier and Type | Class and Description |
|---|---|
class |
ElementQuery<T extends TestBenchElement>
Query class used for finding a given element inside a given search context.
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends TestBenchElement> |
HasElementQuery.$(Class<T> clazz)
Prepare a
ElementQuery instance to use for locating components on
the client. |
static <T extends TestBenchElement> |
TestBench.createElement(Class<T> clazz,
org.openqa.selenium.WebElement webElement,
TestBenchCommandExecutor tbCommandExecutor)
Create new Element of given type.
|
<T extends TestBenchElement> |
TestBenchElement.wrap(Class<T> elementType) |
<T extends TestBenchElement> |
TestBenchTestCase.wrap(Class<T> elementType,
org.openqa.selenium.WebElement element)
Decorates the element with the specified Element type, making it possible
to use component-specific API on elements found using standard Selenium
API.
|
static <T extends TestBenchElement> |
TestBench.wrap(TestBenchElement element,
Class<T> elementType) |
| Modifier and Type | Method and Description |
|---|---|
static TestBenchElement |
TestBench.createElement(org.openqa.selenium.WebElement webElement,
TestBenchCommandExecutor tbCommandExecutor) |
TestBenchElement |
TestBenchElement.findElement(org.openqa.selenium.By by) |
default TestBenchElement |
HasHelper.getHelperComponent()
Gets the slotted helper component for the element.
|
TestBenchElement |
HasPropertySettersGetters.getPropertyElement(String... propertyNames)
Gets a JavaScript property of the given element as a DOM element.
|
TestBenchElement |
TestBenchElement.getPropertyElement(String... propertyNames) |
protected static TestBenchElement |
TestBenchElement.wrapElement(org.openqa.selenium.WebElement element,
TestBenchCommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
default ElementQuery<TestBenchElement> |
HasElementQuery.$(String tagName)
Prepare a
ElementQuery instance to use for locating components on
the client. |
List<TestBenchElement> |
HasPropertySettersGetters.getPropertyElements(String... propertyNames)
Gets a JavaScript property of the given element as a list of DOM
elements.
|
List<TestBenchElement> |
TestBenchElement.getPropertyElements(String... propertyNames) |
protected static List<TestBenchElement> |
TestBenchElement.wrapElements(List<org.openqa.selenium.WebElement> elements,
TestBenchCommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends TestBenchElement> |
TestBench.wrap(TestBenchElement element,
Class<T> elementType) |
| Modifier and Type | Method and Description |
|---|---|
void |
TestBenchCommandExecutor.focusElement(TestBenchElement testBenchElement) |
Copyright © 2020-2021 Vaadin Ltd. All Rights Reserved.