I am running my tests on browserstack and for IE 11 I am getting following error when it tries to find element.
The same test runs successfully in IE 10.
Code:
wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("label[for='form:quest:0:quest:0:questionId:0']")));
Exception:
org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window
I came across following post while trying to find the solution, however unsure how to set this capability in browserstack.