Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2145

Unable to pass DesiredCapabilities from arquillian.xml with selenium grid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • drone_2.1.0.Alpha1
    • Extension - Drone
    • None

      Unable to pass DesiredCapabilities from arquillian.xml with selenium grid

      Arquillian.xml

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

      Note

      • Desired Capabilities were captured and worked as expected when executed without 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.

              mjobanek Matous Jobanek
              ankitojha Ankit Ojha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: