question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛 Bug]: IEDriverServer 3.150.2 failing to find elements

See original GitHub issue

What happened?

Downloaded 32-bit IEDriverServer 3.150.2 from https://www.selenium.dev/downloads/ When extracted the actual file version is 3.150.1.1 - is that right? I replaced the older 3.150.1.0 file with the 1.1 and it fails running the getting started example, not finding “q”. Screenshot 2021-10-22 113435 Screenshot 2021-10-22 113837

How can we reproduce the issue?

Use the sample 'Getting started code' at https://www.selenium.dev/documentation/
change it for InternetExplorerDriver so the code looks like this
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using System;

namespace Test150._2
{
    class Program
    {
        static void Main(string[] args)
        {
            using (IWebDriver driver = new InternetExplorerDriver())
            {
                WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10));
                driver.Navigate().GoToUrl("https://www.google.com/ncr");
                driver.FindElement(By.Name("q")).SendKeys("cheese" + Keys.Enter);
                wait.Until(webDriver => webDriver.FindElement(By.CssSelector("h3")).Displayed);
                IWebElement firstResult = driver.FindElement(By.CssSelector("h3"));
                Console.WriteLine(firstResult.GetAttribute("textContent"));
            }
        }
    }
}

run it - it fails as above - but this works without issue using the 3.150.1.0 version

Relevant log output

Is there a logging facility in the driver?

Operating System

Windows 10

Selenium version

4.0.0

What are the browser(s) and version(s) where you see this issue?

IE11 21H1 (19043.1288)

What are the browser driver(s) and version(s) where you see this issue?

IEDriverServer 3.150.2 (but file version is 3.150.1.1)

Are you using Selenium Grid?

No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jimevanscommented, Nov 9, 2021

@ShirleyYahafl IE Driver 4.0.0.0 has been released. Does that resolve the issue?

0reactions
github-actions[bot]commented, Jan 3, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selenium Java Internet Explorer Webdriver - Unable to find ...
Try this, This might help: DesiredCapabilities ieCapability = DesiredCapabilities.internetExplorer(); IEcaps .
Read more >
IEDriver changelog - GitHub
The algorithm used by the IE driver to detect obscured elements checks the value of the ... the error message that the execution...
Read more >
How to run webdriver in IE browser? - Selenium Easy
First of all, download latest version of IEDriver server for webdriver. ... and Chrome browsers which are intelligent enough find the elements in...
Read more >
Error forwarding the new session ... cannot find IE 10
I'm trying to run a test remotely on the Selenium Grid using Internet Explorer 10. I've checked the node and verified that the...
Read more >
Selenium with Chromium Edge in IE Mode - Microsoft Learn
In Selenium, when using latest IEDriverServer.exe (v 3.150.1.0) with C# to launch MS Edge in IE Mode, after clicking on a button I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found