]
Lukáš Fryč updated ARQGRA-221:
------------------------------
Fix Version/s: 2.2-Tracking
(was: 2.1-Tracking)
Introduce own implementation of By to allow formatting (known from
Graphene1)
-----------------------------------------------------------------------------
Key: ARQGRA-221
URL:
https://issues.jboss.org/browse/ARQGRA-221
Project: Arquillian Graphene
Issue Type: Feature Request
Affects Versions: 2.0.0.Alpha2
Reporter: Jan Papousek
Fix For: 2.2-Tracking
Locators in Graphene 1 contains #format(Object...) method which allows you to reuse in
the following way:
{code}
JQueryLocator general = jq("div[id$=item{0}] td.rf-ac-itm-ico");
for (int i=0; i<10; i++) {
JQueryLocator icon = general.format(1);
...
}
{code}
It would be nice to have something similar in Graphene 2 (using By instead of
JQueryLocator).
Other possibly usefel methods:
- getDescendant()
- getChild()