Click action opening a link TWICE in IE9 and above

Answered
We are facing a problem in IE9/10/11 where a click action opens that link twice in 2 separate windows. We want to perform some steps in the window that is opened by clicking on the link. But because 2 window opens with 1 click action, Selenium is not able to make out which window to choose to perform those steps.
Same script works fine on FF, Chrome and IE8.
Professor Asked on August 12, 2014 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)
    Best answer
    Clicking manually opens only 1 window, which is an expected behavior.
     
    We have found a solution, provided to us by one of the Sapient QA community members. Using the JavascriptExecutorto execute the click action opened 1 window.
    Professor Answered on August 12, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.