[arquillian-issues] [JBoss JIRA] (ARQGRA-152) Fail fast if path to browser is not valid

Karel Piwko (JIRA) jira-events at lists.jboss.org
Wed Jul 25 08:06:06 EDT 2012


    [ https://issues.jboss.org/browse/ARQGRA-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707765#comment-12707765 ] 

Karel Piwko commented on ARQGRA-152:
------------------------------------

Lukas, this is enhancement only. It will simply fail a bit later throwing Selenium exception instead of Drone exception.
                
> Fail fast if path to browser is not valid
> -----------------------------------------
>
>                 Key: ARQGRA-152
>                 URL: https://issues.jboss.org/browse/ARQGRA-152
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>          Components: core
>    Affects Versions: 1.0.0.Final
>            Reporter: Karel Piwko
>            Assignee: Karel Piwko
>
> There is no reason to delegate failure to Selenium. If browser binary does not exist for default selenium, simply fail fast. E.g.
> {code:xml}
> <property name="browser">*firefox /opt/firefox-9.0.1/firefox-bin</property>
> {code}
> {code}
> java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: java.lang.RuntimeException: Firefox 3 could not be found in the path!
> Please add the directory containing ''firefox.exe'' to your PATH environment
> variable, or explicitly specify a path to Firefox 3 like this:
> *firefox3 c:\blah\firefox.exe
> 	at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:109)
> 	at org.jboss.arquillian.drone.selenium.factory.DefaultSeleniumFactory.createInstance(DefaultSeleniumFactory.java:67)
> {code}

--
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