]
Lukáš Fryč updated ARQGRA-364:
------------------------------
Fix Version/s: 2.1-Tracking
Allow for extensibility of GrapheneElement
------------------------------------------
Key: ARQGRA-364
URL:
https://issues.jboss.org/browse/ARQGRA-364
Project: Arquillian Graphene
Issue Type: Enhancement
Reporter: Lukáš Fryč
Fix For: 2.1-Tracking
Implement GrapheneElement#as(Class<?> type) method which will do a coercion to the
given type.
If the given type is not implemented by wrapped WebElement, the service which implements
this method will be called instead. This allows for simple extensibility mechanism:
{code}
@FindBy
GrapheneElement element;
@Test test() {
element.as(ValidableElement).checkValidity();
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: