[英]How to run Selenium C# tests on real android device in browser?
[英]How to run Selenium Tests written in C# on a Safari browser in the same Windows 10 laptop
我在 .Net/Windows 10 笔记本电脑上使用 C# 编写了一堆 Selenium 测试。 我想在同一台 Windows 10 笔记本电脑的 safari 浏览器上运行这些测试。 我想知道我该怎么做,因为 Apple 不再提供 Safari for windows
是否有可能
请指教。 一些提示会很有用。
苹果在Windows上对Safari的支持停止在5.1版本,也就是说最新的safari可以安装在Safari 5.1的Windows上。
第二 -没有 docker图像 Safari -
三、你可以在你的PC上创建一个Machintosh VM
这是Catalina的链接
这是Mojave的链接
如果你在你的机器上添加其中一个,你还需要启用 Safari 自动化
1. Open Safari
2. Go to Safari > Preferences
3. Go to Advanced and in the bottom, there is an option "Show Develop menu in menu bar"
4. Check that option
5. Go to Develop
6. Check on "Allow Remote Automation"
7. Close/Quit the browser
之后,您可以在 mac 上运行 selenium 节点脚本,以便从网格连接它。 您还可以将docker-selenium用作网格
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.