[JBoss JIRA] (ARQ-1315) Make possible to configure firefox preferences via arquillian.xml
by Fabian Schwarzer (JIRA)
Fabian Schwarzer created ARQ-1315:
-------------------------------------
Summary: Make possible to configure firefox preferences via arquillian.xml
Key: ARQ-1315
URL: https://issues.jboss.org/browse/ARQ-1315
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.1.1.Final
Reporter: Fabian Schwarzer
Assignee: Karel Piwko
In order to configure a FF extension (see ARQ-1259) one needs to add properties to FF (like on the about:config page) via arquillian.xml. This could be done by preparing a FF profile and configure this in arquillian.xml. Unfortunately drone does not seem to pick up the firefox_profile property in arquillian.xml (propably due to org.openqa.selenium.firefox.FirefoxDriver.java:184)
So it would be great if there were some means to configure FF properties; either by configuring them in the arquillian.xml like done in ARQ-1259, or by making it possible to pass a profile via
<extension qualifier="webdriver">
<property name="browserCapabilities">firefox</property>
<property name="firefox_profile">/path/to/profile</property>
</extension>
see also ARQ-1245
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1314) Better exception message when creating a new instance fails
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1314?page=com.atlassian.jira.plugin.s... ]
Karel Piwko resolved ARQ-1314.
------------------------------
Resolution: Done
> Better exception message when creating a new instance fails
> -----------------------------------------------------------
>
> Key: ARQ-1314
> URL: https://issues.jboss.org/browse/ARQ-1314
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.2.0.Alpha1
> Reporter: Jiri Locker
> Assignee: Jiri Locker
> Fix For: drone_1.2.0.Alpha2
>
>
> org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance() catches a number of exceptions and rethrows them with better description hinting at what might be wrong with arquillian configuration. In the case of catching InvocationTargetException, more important is its cause, whose message describes the problem. However this piece of code:
> {code:java}
> } catch (InvocationTargetException e) {
> throw new RuntimeException(
> "Unable to instantiate Drone via " + getConstructorName(...),
> e.getCause());
> }
> {code}
> will provide stack trace of the cause, but its message is not included, producing an exception looking like:
> {noformat}java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.firefox.FirefoxDriver(Capabilities)
> {noformat}
> The exception handling code should be improved so that the message of InovcationTargetException's cause is included in the wrapping RuntimeException message.
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1314) Better exception message when creating a new instance fails
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1314?page=com.atlassian.jira.plugin.s... ]
Karel Piwko commented on ARQ-1314:
----------------------------------
Pushed upstream as https://github.com/arquillian/arquillian-extension-drone/commit/796dc2747....
Thanks for the fix, Jiri!
> Better exception message when creating a new instance fails
> -----------------------------------------------------------
>
> Key: ARQ-1314
> URL: https://issues.jboss.org/browse/ARQ-1314
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.2.0.Alpha1
> Reporter: Jiri Locker
> Assignee: Jiri Locker
> Fix For: drone_1.2.0.Alpha2
>
>
> org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance() catches a number of exceptions and rethrows them with better description hinting at what might be wrong with arquillian configuration. In the case of catching InvocationTargetException, more important is its cause, whose message describes the problem. However this piece of code:
> {code:java}
> } catch (InvocationTargetException e) {
> throw new RuntimeException(
> "Unable to instantiate Drone via " + getConstructorName(...),
> e.getCause());
> }
> {code}
> will provide stack trace of the cause, but its message is not included, producing an exception looking like:
> {noformat}java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.firefox.FirefoxDriver(Capabilities)
> {noformat}
> The exception handling code should be improved so that the message of InovcationTargetException's cause is included in the wrapping RuntimeException message.
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1314) Better exception message when creating a new instance fails
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1314?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1314:
-----------------------------
Assignee: Jiri Locker (was: Karel Piwko)
> Better exception message when creating a new instance fails
> -----------------------------------------------------------
>
> Key: ARQ-1314
> URL: https://issues.jboss.org/browse/ARQ-1314
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.2.0.Alpha1
> Reporter: Jiri Locker
> Assignee: Jiri Locker
> Fix For: drone_1.2.0.Alpha2
>
>
> org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance() catches a number of exceptions and rethrows them with better description hinting at what might be wrong with arquillian configuration. In the case of catching InvocationTargetException, more important is its cause, whose message describes the problem. However this piece of code:
> {code:java}
> } catch (InvocationTargetException e) {
> throw new RuntimeException(
> "Unable to instantiate Drone via " + getConstructorName(...),
> e.getCause());
> }
> {code}
> will provide stack trace of the cause, but its message is not included, producing an exception looking like:
> {noformat}java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.firefox.FirefoxDriver(Capabilities)
> {noformat}
> The exception handling code should be improved so that the message of InovcationTargetException's cause is included in the wrapping RuntimeException message.
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1314) Better exception message when creating a new instance fails
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1314?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1314:
-----------------------------
Fix Version/s: drone_1.2.0.Alpha2
> Better exception message when creating a new instance fails
> -----------------------------------------------------------
>
> Key: ARQ-1314
> URL: https://issues.jboss.org/browse/ARQ-1314
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.2.0.Alpha1
> Reporter: Jiri Locker
> Assignee: Karel Piwko
> Fix For: drone_1.2.0.Alpha2
>
>
> org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance() catches a number of exceptions and rethrows them with better description hinting at what might be wrong with arquillian configuration. In the case of catching InvocationTargetException, more important is its cause, whose message describes the problem. However this piece of code:
> {code:java}
> } catch (InvocationTargetException e) {
> throw new RuntimeException(
> "Unable to instantiate Drone via " + getConstructorName(...),
> e.getCause());
> }
> {code}
> will provide stack trace of the cause, but its message is not included, producing an exception looking like:
> {noformat}java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.firefox.FirefoxDriver(Capabilities)
> {noformat}
> The exception handling code should be improved so that the message of InovcationTargetException's cause is included in the wrapping RuntimeException message.
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1314) Better exception message when creating a new instance fails
by Jiri Locker (JIRA)
Jiri Locker created ARQ-1314:
--------------------------------
Summary: Better exception message when creating a new instance fails
Key: ARQ-1314
URL: https://issues.jboss.org/browse/ARQ-1314
Project: Arquillian
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.2.0.Alpha1
Reporter: Jiri Locker
Assignee: Karel Piwko
org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance() catches a number of exceptions and rethrows them with better description hinting at what might be wrong with arquillian configuration. In the case of catching InvocationTargetException, more important is its cause, whose message describes the problem. However this piece of code:
{code:java}
} catch (InvocationTargetException e) {
throw new RuntimeException(
"Unable to instantiate Drone via " + getConstructorName(...),
e.getCause());
}
{code}
will provide stack trace of the cause, but its message is not included, producing an exception looking like:
{noformat}java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.firefox.FirefoxDriver(Capabilities)
{noformat}
The exception handling code should be improved so that the message of InovcationTargetException's cause is included in the wrapping RuntimeException message.
--
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
11 years, 10 months