Web自动化测试之 实战一、企业微信Web端自动化测试实战

时间:2020-09-18 17:28:38   收藏:0   阅读:115

 企业微信web端自动化测试实战(一)

1.课程贴

https://ceshiren.com/t/topic/2795/2

2.课堂演示源码链接

https://github.com/ceshiren/HogwartsLG2

3.selenium官方网站

https://www.selenium.dev/

4.浏览器调试(复用)模式

调用之前

  1. 需要退出当前所有的谷歌浏览器(特别注意)
  2. 找到chrome的启动路径

windows:

技术图片

 

 

 技术图片

 

 

 mac
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

3.配置环境变量:

技术图片

4.启动命令windows:chrome --remote-debugging-port=9222
启动命令mac:Google\ Chrome --remote-debugging-port=9222

5.访问http://localhost:9222/

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!