public static void openNewInternetExplorerTab(ref InternetExplorer ie, string url)
{
// Open the URL in a new tab of the given InternetExplorer instance
ie.Navigate2(url, BrowserNavConstants.navOpenInNewTab, ref m, ref m, ref m);
// Make InternetExplorer visible
ie.Visible = true;
}
此代码始终在Chrome浏览器中打开新选项卡而不是IE。我如何在Internet Explorer中打开。