使用Selenium和Microsoft VisualStudio TestTools进行边缘测试 [英] Edge testing with Selenium and Microsoft VisualStudio TestTools

查看:142
本文介绍了使用Selenium和Microsoft VisualStudio TestTools进行边缘测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建和测试基于Azure的网站。

I am building and testing an Azure-based website.

要测试我使用的是Selenium,可以使用Chrome驱动程序或Firefox驱动程序测试该网站。

To test I am using Selenium, and can test the site with a Chrome driver or a Firefox driver.

IE和Edge驱动程序均失败。 看起来IE的问题是缺乏对某些ES 6功能的支持 - 所以我可能需要提供IE特定的代码来支持该浏览器。  



使用Edge我可以在常规浏览器中导航和使用该网站 - 但我无法让Edge驱动程序与Selenium一起使用。 通过阅读开发者网站和博客中的各种帖子,看起来我的Windows版本没有可用的webdriver -
我在Windows 10版本1809 / build 17763.379上。

IE and Edge drivers both fail.  It looks like the problem with IE is lack of support for some ES 6 features - so i probably need to provide IE-specific code to support that browser.  

With Edge I can navigate and use the site in a regular browser - but I am unable to get an Edge driver to work with Selenium.  From reading various posting in developer sites and blogs it looks my build of Windows does not have a webdriver available - I am on Windows 10 Version 1809 / build 17763.379.

有没有人知道如何通过selenium进行Edge测试以在像我这样的机器上工作? 如果是这样,请显示一些示例代码和所需的步骤/参考/使用/等。

Does anyone know of a way to get Edge testing with selenium to work on a machine like mine?  If so, please show some sample code and needed steps / references / usings / etc.

此外 - 我已经读过Edge被弃用并被基于Chromium的浏览器取代。  ;这是真的吗? 如果是的话,是否已公布时间?

Also - i've read that Edge is being deprecated and replaced with a Chromium-based browser.  Is that true?  If so, has the timing been announced?

Ken Blaker

Ken Blaker

推荐答案

此论坛适用于
Azure Stack,一种允许您使用Azure服务的混合云平台来自您的数据中心
。看起来您正在寻找有关Selenium Edge的Web开发的帮助。您最好的选择是在StackOverflow上询问此问题,或者使用
Selenium 。 
This forum is for Azure Stack, a Hybrid Cloud Platform that lets you use Azure services from your datacenter. It looks like you are looking for assistance with web develoment on Edge with Selenium. Your best bet is to ask this question on StackOverflow, or with Selenium. 


这篇关于使用Selenium和Microsoft VisualStudio TestTools进行边缘测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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