[
https://issues.jboss.org/browse/ARQGRA-84?page=com.atlassian.jira.plugin....
]
Lukáš Fryč reassigned ARQGRA-84:
--------------------------------
Assignee: Juraj Húska (was: Lukáš Fryč)
Hi Juraj, could you please look at it once Page Extensions will be implemented
(ARQGRA-71)?
We can discuss the implementation if that would not be familiar - e.g. JavaScript part.
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