Hi @Simulator World
I saw you asked the same question on StackOverflow. I'll follow up on this site.
I see that you use InternetExplorerOptions.AddAdditionalCapability
so I guess you use Selenium WebDriver 3. Selenium WebDriver 3 is deprecated now, and you need to upgrade to the latest version Selenium WebDriver 4.8.1. Besides, you need to place the IEDriver in your PATH.
I test with Selenium WebDriver 4.8.1, IEDriver 4.8.1.0, Edge version 111.0.1661.44 on Win 11 with the sample code, it works well. You can have a try.
Edit:
You must set the Protected Mode settings for each zone to be the same value to meet the Required Configuration.
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