[arquillian-issues] [JBoss JIRA] (ARQ-2145) Unable to pass DesiredCapabilities from arquillian.xml with selenium grid

Ankit Ojha (JIRA) issues at jboss.org
Thu Sep 21 12:25:00 EDT 2017


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

Ankit Ojha commented on ARQ-2145:
---------------------------------

We are using 
{noformat}
<arquillian-drone-bom.version>2.1.0.Alpha1</arquillian-drone-bom.version>
{noformat}

Our usecase is to set Desired Capabilities with selenium grid and eventually set default download location to a specific location.

As stated in the description, it works perfectly fine without selenium grid configuration.

> Unable to pass DesiredCapabilities from arquillian.xml with selenium grid
> -------------------------------------------------------------------------
>
>                 Key: ARQ-2145
>                 URL: https://issues.jboss.org/browse/ARQ-2145
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Configuration
>         Environment: OS:Windows
> Browser:Chrome
>            Reporter: Ankit Ojha
>         Attachments: image-2017-09-21-17-10-11-058.png
>
>
> Unable to pass DesiredCapabilities from arquillian.xml with selenium grid
> +Arquillian.xml+
> {noformat}
> <property name="remoteAddress">${gridhubaddress}</property>
> 	<property name="remote">true</property>
> 	<property name="chromePrintOptions">true</property>
> 	<property name="chromeArguments">-start-maximized</property>	
> 		<property name="chromeExperimentalOption">	
> 	{
>   "prefs": {
>     "download.default_directory": "${downloadlocation}"
> 	}
> 	}
> </property>
> {noformat}
> *+Note+*
> - Desired Capabilities were captured and worked as expected when executed {color:red}without {color}selenium grid
> - Debugging with Remote WebDriver showed that it has the expected DesiredCapabilities (check screen attached) but when the browser was launched, it was launched without capabilites
> - Initially my thought was 
> {noformat}
> <property name="chromeExperimentalOption">
> {noformat}
>  had an issue but when i added 
> {noformat}
> <property name="chromeArguments">-start-maximized</property>
> {noformat}
>  it did not worked as well. Without Grid both worked.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the arquillian-issues mailing list