Will Microsoft Edge support COM automation (Intern

2020-01-31 02:04发布

问题:

The last several versions of Internet Explorer have allowed a Windows desktop (classic) application to control IE (to some extent) via COM automation. Will this type of automation also be available in Microsoft Edge? If so, will the Methods, Properties and Events be the same?

回答1:

Microsoft Edge will not support the COM automation interface (InternetExplorer object) that you referred to.

For automation scenarios, our direction is to support of the WebDriver interface that is supported across browsers. WebDriver support is now available in Microsoft Edge on Windows 10 and requires a separate executable that you can download.

To get an idea of capabilities, you can refer to the Microsoft Edge WebDriver page which will be kept up-to-date with the latest WebDriver commands available.