It looks like your trying to inject @Drone DefaultSelenium, which is Selenium 1 as explained in the message.
Graphene2 works on top of WebDriver, which is completely different technology than DefaultSelenium.
Your are right. That was one of the problems. I fixed and now I have
java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.chrome.ChromeDriver(Capabilities): java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://code.google.com/p/chromedriver/downloads/list
if I set the browser to chrome. Do I need the chrome driver? And I have this:
java.lang.RuntimeException: Unable to instantiate Drone via org.openqa.selenium.phantomjs.PhantomJSDriver(DriverService,Capabilities): java.lang.NoClassDefFoundError: org/apache/http/entity/ContentType
If I set the browser to phantomjs
Yes, for ChromeDriver you need chromedriver binary. Just download it from the link and set <property name="chromeDriverBinary">/path/to/download/one</property in arquillian.xml next to browser type. Or just set the system property via -D.
As for the phantomjs, can you check you have your test method marked as @RunAsClient ? Or @Deployment(testable=false) ? Just post the whole stacktrace, it is difficult to figure that out from first two rows ;-)
I got it working with phantomjs by adding
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.2.3</version>
</dependency>
For chrome the configuration also works now.
Thanks