2 Replies Latest reply: Sep 29, 2010 10:57 AM by Aslak Knutsen RSS

    Selenium firefox profile fails on test goal

    Trung Hoang Newbie

       

       

      Caused by: java.lang.IllegalArgumentException: Unable to convert value org.openqa.selenium.firefox.FirefoxDriverto a class: java.lang.String

      at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration$SystemPropertyConfiguration.convert(SeleniumExtensionConfiguration.java:439)
      at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration$SystemPropertyConfiguration.get(SeleniumExtensionConfiguration.java:387)
      at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration.getWebdriverImplementation(SeleniumExtensionConfiguration.java:346)
      at org.jboss.arquillian.selenium.instantiator.WebDriverInstantiator.create(WebDriverInstantiator.java:62)
      at org.jboss.arquillian.selenium.instantiator.WebDriverInstantiator.create(WebDriverInstantiator.java:38)
      at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.prepareContext(SeleniumStartupHandler.java:86)
      at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.callback(SeleniumStartupHandler.java:60)
      at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.callback(SeleniumStartupHandler.java:48)
      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

      I recently downloaded head b072459 which features the new selenium extension feature.

       

      Running with the jbossas-remote-6 and htmlunitdriver profiles works as expected, however running with the firefoxdriver or legacy-webdriver profiles results in failed tests and this is the surefire output:

       

      Caused by: java.lang.IllegalArgumentException: Unable to convert value org.openqa.selenium.firefox.FirefoxDriverto a class: java.lang.String

      at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration$SystemPropertyConfiguration.convert(SeleniumExtensionConfiguration.java:439)

      at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration$SystemPropertyConfiguration.get(SeleniumExtensionConfiguration.java:387)

      at org.jboss.arquillian.selenium.SeleniumExtensionConfiguration.getWebdriverImplementation(SeleniumExtensionConfiguration.java:346)

      at org.jboss.arquillian.selenium.instantiator.WebDriverInstantiator.create(WebDriverInstantiator.java:62)

      at org.jboss.arquillian.selenium.instantiator.WebDriverInstantiator.create(WebDriverInstantiator.java:38)

      at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.prepareContext(SeleniumStartupHandler.java:86)

      at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.callback(SeleniumStartupHandler.java:60)

      at org.jboss.arquillian.selenium.event.SeleniumStartupHandler.callback(SeleniumStartupHandler.java:48)

      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

       

      I am using Maven 3 if it matters.

       

      Can anyone reproduce?