System.setProperty("arquillian.selenium.server.port", "54321");
bind(ApplicationScoped.class, ArquillianDescriptor.class, Descriptors.create(ArquillianDescriptor.class)
.extension("selenium-server")
.property("port", "12345"));
fire(new BeforeSuite());
SeleniumServerConfiguration selConf = getManager().getContext(SuiteContext.class).getObjectStore().get(SeleniumServerConfiguration.class);
Assert.assertNotNull("Selenium Server configuration was created in context", selConf);
Assert.assertEquals("Selenium Server configuration is configured with port 54321, from System properties", 54321, selConf.getPort());