assertTrue(createWebDriverAndReturnCapabilities().isJavascriptEnabled());
}
@Test
public void setsCapabilityFromMap() throws Exception {
Capability capability = new Capability();
capability.setName("foo");
capability.setValue("bar");
factory.setWebDriverCapabilities(ImmutableList.of(capability));
assertEquals("bar", createWebDriverAndReturnCapabilities().getCapability("foo"));
}