Package com.vaadin.testbench
package com.vaadin.testbench
-
ClassDescriptionProvides a workaround to avoid "cyclic object value" when returning an element list (webdrivers use JSON.stringify([element1, ..., elementN]) internally).ElementQuery<T extends TestBenchElement>Query class used for finding a given element inside a given search context.An interface for classes that can provide an instance of a
WebDriver
Implement by elements which support a label, i.e.Implement by elements which support a label, i.e.Implement by elements which support a placeholder, i.e.Interface for classes providing aSearchContext
, i.e.Implemented by elements which support selecting an option by matching the text shown to the user.Interface for classes that have access to aTestBenchCommandExecutor
instance.A retry rule is used to re-run a test several times in case of a random failure.This JUnitRule
grabs a screenshot when a test fails.TestBenchElement is a WebElement wrapper.A superclass with some helpers to aid TestBench developers.