Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6608469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:36:47+00:00 2026-05-25T19:36:47+00:00

I’m currently having a problems with a window not coming up during tests in

  • 0

I’m currently having a problems with a window not coming up during tests in Internet Explorer. I’m using Selenium-RC 2.6.0, programming my tests in C# and launching them using NUnit.

All of my tests work in Firefox and Chrome, but in Internet Explorer 9 when selenium executes a click on a link (The link launches a new window using Javascript) no window comes up. The window comes up just fine in Firefox and Chrome.

Turn on Popup-blocker is off, Enable Protected Mode is off, Accept all Cookies is on. Windows Firewall is off. Can anyone think of anything else that could be causing it? Or if this is a known bug? I have searched extensively both on SO and Google and haven’t turned up any helpful results yet.

Edit: Added code for the element I am attempting to use

<a id="supervisor" class="topmenu" onclick="switchSupervisor();"    href="javascript:void(0);">
<span style="font-size: 13px;">
<strong>.</strong>
Supervisor
</span>
</a>

Thank you for the helpful answers, ironically enough although none of the posted solutions worked my problem was solved through a microsoft update that solved what was apparently a bug or strange functionality in IE that was repaired in the latest update. I can now easily launch it with a click, or fire event.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:36:47+00:00Added an answer on May 25, 2026 at 7:36 pm

    IE with Selenium has an annoying bug where elements won’t get clicked properly if the link element has any nested elements and no text.

    For example:

    <a id="clickme"><img src="something" /></a>
    

    In IE, the following doesn’t work:

    driver.FindElement(By.Id("clickme")).Click();
    

    The workaround is to click the lowest element in the DOM tree under the link element:

    driver.FindElement(By.Id("clickme")).FindElement(By.TagName("img")).Click();
    //or
    driver.FindElement(By.CssSelector("#clickme img")).Click();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.