[arquillian-issues] [JBoss JIRA] (ARQ-666) Redesign WebDriver browser configuration

Karel Piwko (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 29 07:52:40 EST 2011


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

Karel Piwko commented on ARQ-666:
---------------------------------

I've updated WebDriver specific behavior to chain to given factories.

E.g.

{code}
@Drone WebDriver driver;

{code:xml}
<property name="implementationClass">...FirefoxDriver</property>
<property name="firefoxBinary">/path/to/binary</property>
{code}

This will now check if there is a factory for implementationClass instead calling generic stuff in WebDriverFactory. So firefoxBinary property will be used even if you requested WebDriver class.

                
> Redesign WebDriver browser configuration
> ----------------------------------------
>
>                 Key: ARQ-666
>                 URL: https://issues.jboss.org/browse/ARQ-666
>             Project: Arquillian
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Drone
>    Affects Versions: drone_1.0.0.CR2
>            Reporter: Karel Piwko
>            Priority: Critical
>             Fix For: drone_1.0.0.Final
>
>
> Current binding of browser type to the type defined in the class itself limits the usage of generic WebDriver drivers.
> This means that you can simply change WebDriver type by configuration, you have to modify Java code. The usage should be modified to implementationClass be the property which decides what instance will be used even for generic webdrivers.

--
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