Skip to content

Tests are failing on IE 11 with NoSuchWindowException exception #7

Description

@Gaurang033

Hi Guys,

My tests are failing on IE 11 with following exception, it works fine on IE 10 and IE 9.

Exception
org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window

Code
wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("label[for='form:quest:0:quest:0:questionId:0']")));

Possible Solution
http://stackoverflow.com/questions/24746777/selenium-nosuchwindowexception-in-ie-11

however not sure exactly how to achieve that in browserstack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions