Questions tagged [iedriverserver]

Internet Explorer Driver Server is required to execute Selenium WebDriver tests in IE

90 questions
9
votes
5 answers

How to instantiate InternetExplorerDriver with Selenium WebDriver using C#

new InternetExplorerDriver(); But I could see exception as below: OpenQA.Selenium.DriverServiceNotFoundException was unhandled by user code HResult=-2146233088 Message=The IEDriverServer.exe file does not exist in the current directory or in a…
4
votes
4 answers

java.net.ConnectException: Failed to connect to localhost error with Selenium 3.11.0 with IEDriverServer and IE 11 on Windows 10

I am very new to selenium and trying to set up selenium in my laptop to begin. I am unable to invoke IE from my simple code. The details are given below. Can you please help me to understand where the issue is IE version: IE 11, IE Driver: 64-bit,…
3
votes
1 answer

Selenium IEdriver issue "WebDriverException : The HTTP request to the remote WebDriver server for URLxxxx timed out after 60 seconds."

I am using IEDriverServer 3.9 with IE 11 on Win10 . Test solution using C# with .NET frmaework 4.6.1. I'm getting the classic error at the moment of lunching my selenium tests, it opens IE but after some time URL is not typed and the error comes up…
3
votes
3 answers

Webdriver typing very slow in IE11 and Windows 10

While executing testcases the characters are getting typed very slow. I am using Windows10 + Selenium 2.39 + IE 11 + IEDriverServer(64bit), tried replacing it with 32 bit also but to no avail.All security zones setting are checked and have tried all…
3
votes
1 answer

org.openqa.selenium.InvalidArgumentException: Invalid capabilities using DesiredCapabilities

I have upgraded my Selenium framework to the latest version. During execution of the code, I receive the following exception: Exception: org.openqa.selenium.InvalidArgumentException: Invalid capabilities in alwaysMatch: unhandledPromptBehavior is…
3
votes
3 answers

IE11 Selenium WebDriverException: Failed to navigate. (org.openqa.selenium.WebDriverException ...IWebBrowser2::Navigate2() failed

I am new to automated testing and, though my Selenium tests are running on Chrome and Firefox, they are not running on IE11. I did all the checks I detail below, but I keep on bumping into this error: org.openqa.selenium.WebDriverException: Failed…
2
votes
2 answers

Why does the program always open http://--port=57883/ using IEDriverServer IE through Selenium Python

Code trials: import time from selenium import webdriver from selenium.webdriver.ie.options import Options url = 'www.google.com' def Login(): browser = webdriver.Ie(executable_path=r'C:\Program Files\Internet Explorer\iexplore.exe') …
2
votes
1 answer

org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session error with Selenium and IE11 using Java

I'm trying to automate my test cases using Selenium with the following software applications. WebDriver 3.12.0 InternetExplorerDriver3.150.1 IE11 browser Java1.8.0.231 Here's my script to initialize the…
2
votes
0 answers

Error 10054 "An Existing Connection Was Forcibly Closed by the Remote Host" on my machine only?

I am trying to launch the Internet Explorer web browser using Python/Selenium. When I attempt to run the code, I receive the error as described above "urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing…
2
votes
0 answers

OpenQA.Selenium.WebDriverException : Failed to navigate to "....". This usually means that a call to the COM method IWebBrowser2::Navigate2() failed

Trying to open Explorer on a remote server by calling 'new InternetExplorerDriver() in C#'. I have opened the task manager to check if it opens explorer. And I do see the IEDriver(32 bit) and Explorer running in the background processes. But it…
2
votes
2 answers

HTTP Status: '500' -> incorrect JSON status mapping for 'timeout' (408 expected) while clicking element with IEDriverServer Selenium and Java

Below are the details related to my flow - Page - 1 - Login to Web page After login, a URL Appears (Lets call it Element 1) After clicking Element 1, web page loads again and there I need to click on a different element, (Lets call it Element…
2
votes
1 answer

org.openqa.selenium.NoSuchElementException error in IE but the same code works fine in Chrome and Firefox

I have written a login script and when I execute it using ChromeDirver and FFDriver it works fine. But when I run the same using IE Driver it fails and giving the below error. Exception in thread "main" org.openqa.selenium.NoSuchElementException:…
2
votes
1 answer

Internet Explorer Protective mode setting and Zoom levels

using System; using OpenQA.Selenium.IE; using OpenQA.Selenium.Remote; using OpenQA.Selenium; namespace CSharpAutomationFramework.Tests { public class BrowserSource { var options = new InternetExplorerOptions(); …
2
votes
1 answer

Can't launch Selenium IE Driver after upgrading to version 3.9

After updating to IEDriverServer 3.9 for 64-bit from here, I'm getting the following exception when trying to run any tests with IE (version: 11.0.9600.17842, Win8.1). Does anyone know how to get around this, or should I just downgrade back to…
Kolichikov
  • 2,594
  • 24
  • 40
2
votes
3 answers

Getting org.openqa.selenium.remote.SessionNotFoundException for IE Driver

I am getting org.openqa.selenium.remote.SessionNotFoundException: session null does not exist exception while trying to open google.com through IE driver. My code is as follows: public class Google { static WebDriver obj; public static…
1
2 3 4 5 6