0 Replies Latest reply on Apr 2, 2013 2:17 PM by mgreenberg

    Drone and Start Selenium Server only when needed

    mgreenberg Newbie



      We have a mixture of plain Arquillian (no extensions) with JWebUnit tests and Arquillian Drone tests with Selenium RC. Selenium server is started through the arquillian configuration file since skip is not set to false. It is started when we run any test class irrespective of whether they use Selenium or not. Is there a way to prevent this and to lazy load Selenium server only when a test class has the DefaultSelenium browser injected using @Drone? If not, is there any other way we can prevent Selenium server from getting started when it is not needed? Maybe we could disable the drone extension for certain tests or have multiple arquillian.xml files. I am not sure if either of these are possible.