Package com.vaadin.testbench
Class CyclicObjectWorkaround
java.lang.Object
com.vaadin.testbench.CyclicObjectWorkaround
Provides a workaround to avoid "cyclic object value" when returning an
element list (webdrivers use JSON.stringify([element1, ..., elementN])
internally).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CyclicObjectWorkaround
public CyclicObjectWorkaround()
-
-
Method Details
-
get
Produces Javascript which modifies a given object (list) so that it can be returned to the test.- Parameters:
jsObjectName
- the name of the Javascript object to manipulate- Returns:
- JS code which manipulates the object
-