[arquillian-issues] [JBoss JIRA] (ARQGRA-84) Support Sizzle locators with Selenium 2
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Fri Aug 24 16:23:16 EDT 2012
[ https://issues.jboss.org/browse/ARQGRA-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukáš Fryč updated ARQGRA-84:
-----------------------------
Sprint: Sprint 1
> Support Sizzle locators with Selenium 2
> ---------------------------------------
>
> Key: ARQGRA-84
> URL: https://issues.jboss.org/browse/ARQGRA-84
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Components: core
> Reporter: Lukáš Fryč
> Assignee: Juraj Húska
> Fix For: 2.0.0.Alpha2
>
>
> Right now, WebDriver supports XPath and CSS locators, but they are not still as powerful as Sizzle locators.
> Implementation of this feature is very easy, as you can see here:
> http://selenium.polteq.com/en/injecting-the-sizzle-css-selector-library/
> The only what needs to be done is injecting Sizzle to the page (using Page Extensions feature) and then execute script - WebDriver will automatically return {{List<WebElement>}} if script return value will be evaluated as WebDriver element.
> ----
> The problem comes with supporting {{By.*}} and {{@FindBy}}.
> I propose to
> * wrap all {{By.*}} in {{Graphene.*}}
> * introduce {{Graphene.jq}}
> * introduce {{@FindByJQ(String)}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list