[arquillian-issues] [JBoss JIRA] (ARQGRA-364) Allow extensibility of GrapheneElement
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Tue Sep 10 06:50:03 EDT 2013
Lukáš Fryč created ARQGRA-364:
---------------------------------
Summary: Allow extensibility of GrapheneElement
Key: ARQGRA-364
URL: https://issues.jboss.org/browse/ARQGRA-364
Project: Arquillian Graphene
Issue Type: Enhancement
Reporter: Lukáš Fryč
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: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list