[🐛 Bug]: IEDriverServer 3.150.2 failing to find elements
See original GitHub issueWhat 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”.
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:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ShirleyYahafl IE Driver 4.0.0.0 has been released. Does that resolve the issue?
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.