[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 08:03:00 EDT 2017


     [ https://issues.jboss.org/browse/ARQ-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankit Ojha updated ARQ-2145:
----------------------------
    Description: 
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.





  was:
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 <property name="chromeExperimentalOption"> had an issue but when i added<property name="chromeArguments">-start-maximized</property> , it did not worked as well. Without Grid both worked.







> 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