Closed Danp2 closed 1 year ago
Some additional details --
Hi @Danp2, Edge will not launch in administrator mode. This was an explicit decision where Edge diverges from Chrome for security reasons. The test will need to run unelevated for Edge to launch successfully.
Hi @Danp2, Edge will not launch in administrator mode. This was an explicit decision where Edge diverges from Chrome for security reasons. The test will need to run unelevated for Edge to launch successfully.
Hi @bwalderman, can you provide a source for this? Because a customer is running into this and we'd like something more official. :) Thanks!
Edge fails to launch successfully when executed with elevated access (run as administrator). This is the webdriver console output --
Notice that it tries to set the user directory to "C:\Program Files\scoped_dir4128_1801713731", which I believe is the reason for the subsequent errors because Windows is going to deny write access to files under C:\Program FIles.
Performing the exact same process with non-elevate access and the user directory is created in the expected location (C:\Users\\AppData\Local\Temp).
Note that this issue only occurs with MS Edge; Chrome and Firefox don't exhibit this behavior.