-
Bug
-
Resolution: Done
-
Major
-
drone_1.1.0.CR1, drone_1.1.0.CR2
According to the release highlights at http://planet.jboss.org/post/arquillian_drone_extension_1_1_0_cr1_released, Drone should now have the capability to configure WebDriver using the Capabilities interface. However, when attempted, a NullPointerException is thrown by the TypedWebDriverConfiguration class, which attempts to run the code
new DesiredCapabilities(TypedWebDriverConfiguration.this.capabilityMap)
on the class variable 'capabilityMap', which does not seem to be initialised anywhere. This occurs both in version 1.1.0.CR1 of the Drone WebDriver extension and version 1.1.0.CR2.
Note that in order to use version 1.1.0.CR1/2 of the WebDriver extension, the artifact 'arquillian-drone-webdriver' must be declared as a Maven dependency. If only 'arquillian-drone-webdriver-depchain' is declared as a dependency, the version of 'arquillian-drone-webdriver' used is one older than 1.1.0.CR1, even if the version given for the depchain is 1.1.0.CR1 or higher. Going through the same steps described in 'Steps to Reproduce' with only the depchain dependency declared results in the capability configuration not being recognised at all and the tests running with HtmlUnitDriver.