use of org.testcontainers.containers.BrowserWebDriverContainer in project testcontainers-java by testcontainers.
the class FlakyContainerCreationTest method testCreationOfManyContainers.
@Test
@Ignore
public void testCreationOfManyContainers() {
for (int i = 0; i < 50; i++) {
BrowserWebDriverContainer container = new BrowserWebDriverContainer().withDesiredCapabilities(DesiredCapabilities.chrome()).withRecordingMode(BrowserWebDriverContainer.VncRecordingMode.RECORD_FAILING, new File("build"));
container.start();
RemoteWebDriver driver = container.getWebDriver();
driver.get("http://www.google.com");
container.stop();
}
}
Aggregations