We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.testbench.
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 manipulateReturns:
JS code which manipulates the object
-