How to Connect the Chromium DebuggingAddress while using IE Mode?

Harsha C S 6 Reputation points
2021-06-08T09:12:24.437+00:00

Just like 'ie.edgechromium' and 'ie.edgepath' is there any addtional option available to connect to already opened Chromium Edge in IE mode similar to Chromium Edge?

EdgeOptions eo = new EdgeOptions();
eo.DebuggerAddress = "localhost:8888"

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

1 answer

Sort by: Most helpful
  1. Yu Zhou-MSFT 15,261 Reputation points Microsoft External Staff
    2021-06-09T06:46:29.123+00:00

    Hi @Harsha C S

    There's a prerequisite to automate Edge IE mode:

    Make sure to close all the Edge browser tabs and window before running the code.

    You can refer to this answer. If we don't close all the windows, it will cause the code to fail.

    I think we can't attach the Edge IE mode window to an already opened Edge, as we even can't open an Edge window before we run the Edge IE mode code.


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.