*
* @see org.jboss.arquillian.selenium.spi.Instantiator#createInstance(java.lang .Object)
*/
@Override
public GrapheneSelenium createInstance(ArquillianGrapheneConfiguration configuration) {
GrapheneSeleniumImpl selenium = new GrapheneSeleniumImpl(configuration.getSeleniumHost(),
configuration.getSeleniumPort(), configuration.getBrowser(), configuration.getContextRoot());
GrapheneSeleniumContext.set(selenium);
selenium.initializeBrowser();
selenium.initializeSeleniumExtensions();
selenium.initializePageExtensions();
selenium.configureBrowser();
return selenium;
}