[arquillian-issues] [JBoss JIRA] (ARQ-1045) Fail fast if path to browser is not valid
Karel Piwko (JIRA)
jira-events at lists.jboss.org
Tue Jul 24 16:00:07 EDT 2012
Karel Piwko created ARQ-1045:
--------------------------------
Summary: 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
Assignee: Karel Piwko
Fix For: drone_1.2.0.next
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