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

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Aug 29 14:20:33 EDT 2012


     [ https://issues.jboss.org/browse/ARQGRA-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč resolved ARQGRA-152.
-------------------------------

    Resolution: Duplicate Issue

    
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list