Changed implementations and APIs to use the non-deprecated Element class
wherever possible without breaking backwards compatibility.
* Methods defined in interfaces have not been touched.
* Return types have only been changed methods that should have no
existing third party callers (i.e. private, internal or @since 7.2)
* For methods that third party code might have overridden, the method
has been deprecated in favor of a new method that just delegates to the
old method.
* For methods that can't reasonably be overridden by third party code
(i.e. private, final, static, internal or @since 7.2), the parameter
type has been changed without retaining the old method.
Change-Id: I7da943a77b8d0d0b9185d8c70f87d676a275d24b
Use FQN instead of import for the bad Element class (#13287)
This is the first step towards eliminating usage of the class. Reasoning
about upcoming steps will be easier when it's clear which class
"Element" refers to.
Change-Id: Iea5547f789edc77c3b4ac95a5e2eb34d2717999e
Implement TestBench4 features in debug window (#12694)
Done:
- VaadinFinderLocatorStrategy returns optimal paths for any Widget
selectable by it.
- TestBenchSection of the Debug Window picks and clears as expected.
- Debug Window no longer presents user with a widget hierarchy
- Translation from VaadinFinderLocatorStrategy query strings to
ElementQuery API calls (should be done in SelectorPath.java)
- Make SelectorPaths change background color when hovered
Change-Id: Ie122f962a319ddf560fa9ac4f6bc57f32a120f91
Generate correct selectors in debug window for TestBench 4 (#12694)
Selectors use IDs, captions, indices of the widget type in parent and
then as a fallback domChild/XPath paths to support sub-part selection
and highlighting as well as other elements without subpart information.
Change-Id: I1ce30a9eb4a96ef0387635ae7464db7e9bd6f542