[arquillian-issues] [JBoss JIRA] (ARQ-1315) Make possible to configure firefox preferences via arquillian.xml

Fabian Schwarzer (JIRA) jira-events at lists.jboss.org
Wed Feb 27 05:17:00 EST 2013


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

Fabian Schwarzer commented on ARQ-1315:
---------------------------------------

Yes, if I get it right, one can pass all of [these FF properties/capabilities|http://code.google.com/p/selenium/wiki/DesiredCapabilities] to selenium via the arquillian.xml. All, but firefox_profiles as described above. So it would be great if you could somehow make the firefox_profiles property work again...I'm not sure yet if this is a bug or a feauture. :)

If this can't be fixed or in addition to the solution above it would be nice if you could set FirefoxProfile#setPreference(...) in the arquillian.xml, similarily to the solution that you implemented in [commit dd850e7|https://github.com/arquillian/arquillian-extension-drone/commit/dd850e72b2d3623820c02f62258c79372259f1a1] for FirefoxProfile#addExtension(...). I don't have a specific answer to the question how this should look like in the arquillian.xml. Maybe an arquillian.xml property like <property name="firefox_properties">/path/to/a/properties/file</property> could link to a file that contains FF-properties like you can see on the FF about:config page...
                
> 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


More information about the arquillian-issues mailing list