[
https://issues.jboss.org/browse/ARQGRA-235?page=com.atlassian.jira.plugin...
]
Juraj Húska commented on ARQGRA-235:
------------------------------------
Already merged with upstream.
It by default automatically infer the element by using {{ByIdOrName}} location strategy
and the field name as the locator.
It can be configured with {{defaultElementLocatingStrategy}} property in
{{arquillian.xml}}. The possible values are the lowercase values of
{{org.jboss.arquillian.graphene.enricher.findby.How}}
Automatically infer ID locator from field name annotated just by
@FindBy
------------------------------------------------------------------------
Key: ARQGRA-235
URL:
https://issues.jboss.org/browse/ARQGRA-235
Project: Arquillian Graphene
Issue Type: Enhancement
Reporter: Lukáš Fryč
Assignee: Juraj Húska
Priority: Minor
Fix For: 2.0.0.Beta1
Consider following:
{code:java}
@FindBy(id = "loginButton")
WebElement loginButton;
@FindBy
WebElement loginButton;
{code}
The lookup should be done using ID or name attribute strategy.
--
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