On my test machine, I am able so start my test, but after several internet explorer windows get opened and closed by the test, no more new windwos are opened. I get no error mesage and the test is stuck.
I checked every single setting according to the selenium wiki.
If I use the chromedriver to run the tests in chrome, everything runs smooth.
The code used looks like this:
var { Builder, By, Key, until, Capabilities } = require("selenium-webdriver");
var ieCapabilities = Capabilities.ie();
var driver = await new Builder().withCapabilities(ieCapabilities).build();
await driver.manage().setTimeouts({ implicit: 3000, pageLoad: 3000, script: 3000 })
await driver.manage().window().setRect({ height: this.initialHeight, width: this.initialWidth });
await driver.get("http://localhost/");
// do the tests
await driver.quit();
The code is run inside an ava test. To avoid problems, I temporarely set concurrency
to 1 and made all tests serial
, but the problem occurs still.
How do I make the test run to the end?