MicrosoftEdge / EdgeWebDriver

Feedback and discussions about WebDriver for Microsoft Edge
MIT License
58 stars 7 forks source link

msedgedrive.exe is calling csrss.exe somehow and this process cannot be close affecting tests that run after #172

Open jmecosta opened 1 month ago

jmecosta commented 1 month ago

Hi

We are using hosted agents which dont get recycled between runs to avoid initalization time penaltyes. to ensure we have a clean machine we run a set of scripts to kill lingering processes/clean regstries/app data etc.

This has worked pretty ok so far, however recenlty we have encountered this dialog which we cant kill

image

Is there a environment varible we can defined in the agents to avoid csrss.exe to be called, im assuming this is the problematic app since its a system app which windows refuses to kill beacuse it will brick the system.

Preferably msedgedriver should crash and creat crash dumps which we then can analyse.

Any hints how to solve this, appreciated.

regards Jorge Costa