以编程方式创建 Edge 浏览器实例 [英] Programmatically create Edge browser instance

查看:185
本文介绍了以编程方式创建 Edge 浏览器实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在 Internet Explorer 将停止使用,在 Windows 10 Scripting Host (.vbs) 中如何创建对象来控制 Edge 实例?

Now that Internet Explorer will be discontinued, in Windows 10 Scripting Host (.vbs) how do I create an object to control an Edge instance?

Dim oIE
Set oIE = CreateObject("InternetExplorer.Application")

推荐答案

您应该使用 WebDriver 来自动测试 Edge 浏览器.

You should use the WebDriver for automating testing of the Edge browser.

此处的博客文章 - http://blogs.windows.com/msedgedev/2015/07/23/bringing-automated-testing-to-microsoft-edge-through-webdriver/

关于 webdriver/selenium 的文档在这里 - https://msdn.microsoft.com/en-us/library/mt188085(v=vs.85).aspx .

Docs on webdriver/selenium are here - https://msdn.microsoft.com/en-us/library/mt188085(v=vs.85).aspx .

这篇关于以编程方式创建 Edge 浏览器实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆