[arquillian-issues] [JBoss JIRA] (ARQGRA-381) Support for robust and concise way of asserting instances of WebDriver
Juraj Húska (JIRA)
jira-events at lists.jboss.org
Fri Sep 27 04:33:02 EDT 2013
Juraj Húska created ARQGRA-381:
----------------------------------
Summary: Support for robust and concise way of asserting instances of WebDriver
Key: ARQGRA-381
URL: https://issues.jboss.org/browse/ARQGRA-381
Project: Arquillian Graphene
Issue Type: Enhancement
Components: core
Affects Versions: 2.0.0.CR1
Reporter: Juraj Húska
In the old days, it was possible to figure out which browser the test is running on by:
{code}
GrapheneContext.holdsInstanceOf(AndroidDriver.class)
{code}
In the current Graphene this information can be retrieved IMHO in quite verbose way. E.g. [this|https://github.com/richfaces/richfaces/blob/master/build/build-resources/src/main/java/org/richfaces/arquillian/browser/BrowserUtils.java#L11] piece of code to find out whether the browser is {{PhnatomJS}}.
Can we provide some robust and concise shortcut for this ?
--
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