Support for Vaadin 10 and Web Components
Pre-release
Pre-release
ElementQuery
has been rewritten to work with Web Components and the DOM
$(ButtonElement.class)
searches for the tag defined inButtonElement
using@Element("some-tag")
id("someId")
restricts the search to elements with the given idattr(name,value)
restricts the search to elements with the given attribute valuefirst()
,last()
,all()
,get(i)
fetches the given matching elementonPage()
resets the search context to the root of the page- Other methods previously available in
ElementQuery
were removed
New helper methods added to TestBenchElement
:
getPropertyString(name)
,getPropertyBoolean(name)
,getPropertyDouble(name)
fetches the property from the elementsetProperty(name,value)
sets the property on the elementcallFunction(name, parameters)
calls the given function on the element using the given parameters
Support for IE8, IE9, IE10 and PhantomJS was removed. These browsers are not supported by Vaadin 10.
A HasElementQuery
interface was added to make it easier to create helper interfaces using element queries.