Forum Discussion
creativechoi
Jul 21, 2022Copper Contributor
How can we control Edge Web Browser Using .NET Framework??
All,
I'm using C#.
I used to control IE by utilizing SHDocVw defined through the mshtml engine.
However, we have to use Edge following the termination of the Internet Explorer (IE) service.
I would like to know how to run it in debuggnig mode using Selenium EdgeDriver.
what should I do?
The UseChrome option does not work with Edge Driver version updated to 4.0.
Help me.
-- sample code --
private void MenuItem_Click(object sender, EventArgs e)
{
InternetExplorer ie = new InternetExplorer();
IWebBrowserApp webBrowser = (IWebBrowserApp)ie;
webBrowser.Visible=true;
webBrowser.Natigate("URL");
}
- josh_bodnerMicrosoftIs your Edge Driver up to date? Its version is very closely tied to Edge's version, so you may need to download the latest version: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/