[
https://issues.jboss.org/browse/ARQGRA-381?page=com.atlassian.jira.plugin...
]
Lukáš Fryč commented on ARQGRA-381:
-----------------------------------
Juraj, could you please explain what's your use case of browser detection?
This issue might be relevant to ARQGRA-135.
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-resou...]
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