Issue with MSEdgeDriver Crashing During Automation

Vishal Virkar 0 Reputation points
2024-09-16T12:30:16.09+00:00

I am currently working on some local automation using MSEdgeDriver and Selenium version 3.141. The automation runs smoothly for a while,

but after some time, I encounter an issue where MSEdgeDriver crashes. In this automation, two browser instances are opened

(two separate MSEdgeDriver processes appear in the task manager) for the

same application. Additionally, a popup window opens in one of the browser instances.

The Event Viewer logs the following details:

Could you please assist me in resolving this issue?

Event ID: 1000

Faulting application name: msedgedriver.exe, version: 127.0.2651.86, time stamp: 0x66aae00c

Faulting module name: msedgedriver.exe, version: 127.0.2651.86, time stamp: 0x66aae00c

Exception code: 0xc0000005

Fault offset: 0x00000000000c7b69

Faulting process id: 0x32c4

Faulting application start time: 0x01daedb3fd80af2f

Faulting application path: C:\Automation\SeleniumDrivers\msedgedriver.exe

Faulting module path: C:\Automation\SeleniumDrivers\msedgedriver.exe

Report Id: 38d7fc19-a264-4661-ac15-623c8fe5a0b1

Faulting package full name:

Faulting package-relative application ID:

Thank you,

Vishal Virkar

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,332 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yu Zhou-MSFT 13,576 Reputation points Microsoft Vendor
    2024-09-17T03:02:48.1966667+00:00

    Hi @Vishal Virkar

    Selenium version 3.141 is no longer supported. If you use Selenium to automate Microsoft Edge, you must use Selenium 4.

    You can refer to this doc to upgrade to Selenium 4: Upgrading from Selenium 3 to Selenium 4. And make sure the Edge WebDriver version matches your Edge browser version. Put the msedgedriver executable folder to your PATH environment variable.

    For the detailed steps to automate Edge, you can also refer to this doc: Automate Microsoft Edge with WebDriver.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,

    Yu Zhou


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.