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

Karel Piwko (JIRA) issues at jboss.org
Thu Apr 17 11:26:34 EDT 2014


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

Karel Piwko closed ARQ-1045.
----------------------------

      Assignee:     (was: Stefan Miklosovic)
    Resolution: Won't Fix


This issue affects Selenium 1 which was dropped from Drone 2.
                
> Fail fast if path to browser is not valid
> -----------------------------------------
>
>                 Key: ARQ-1045
>                 URL: https://issues.jboss.org/browse/ARQ-1045
>             Project: Arquillian
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Drone
>    Affects Versions: drone_1.1.0.CR2
>            Reporter: Karel Piwko
>              Labels: starter
>             Fix For: drone_2.0.0.Alpha2
>
>
> 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