How to disable --ie-mode-force mode in iedriverserver with Edge

samaliy li 71 Reputation points
2022-03-07T09:01:09.123+00:00

Hi,I'm using ieDriverserver.exe to run ie mode in Edge.I meet a problem.
For all sites ,It displays the following messages in info bars.

"You're using an unsupported command-ine flag: --ie-mode-force. This poses stability and security risks."
"All sites in this tab will be opened in Internet Explorer mode."

It seems that the iedriverserver use the --ie-mode-force in default.
Is there anyway to disable the --ie-mode-force in Edge?
I wondered if there is some settings in group policy or registry that can disable --ie-mode-force options in Edge?

Any help appreciated

Microsoft Edge | Microsoft Edge development
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-03-08T02:32:05.837+00:00

    Hi @samaliy li

    That's not a problem, that's how automating IE mode in Edge works.

    As you are launching the Edge browser in IE mode, it will display the information bar with that message. If you disable --ie-mode-force in Edge, how can IE mode work? So I think you can't disable --ie-mode-force when automating IE mode, this conflicts with how IE mode works.


    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


0 additional answers

Sort by: Most helpful

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.