会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lzylh_56
博客园
首页
新随笔
联系
订阅
管理
2018年9月14日
5--Selenium环境准备--firefox与geckodriver
摘要: selenium2时打开firefox浏览器是不需要安装firefoxdriver的,但是selenium3不支持向前支持火狐浏览器了,40以后版本的火狐,运行会出现问题。 1、下载geckodriver https://github.com/mozilla/geckodriver/releases
阅读全文
posted @ 2018-09-14 22:42 lzylh_56
阅读(175)
评论(0)
推荐(0)
编辑
4--Selenium环境准备---chromedriver.exe 与chrome版本匹配
摘要: 0、jdk8 和eclipse 4.6 https://www.eclipse.org/downloads/packages/release/neon/3 1、selenium-server-standalone-3.9.1 http://selenium-release.storage.googl
阅读全文
posted @ 2018-09-14 17:19 lzylh_56
阅读(173)
评论(0)
推荐(0)
编辑
3--Selenium环境准备--Eclipse 引入 selenium-server包
摘要: selenium-server-standalone包是Seleniumd的核心jar包,其中包含了各种元素定位和调用浏览器的方法。下载jar包后,在IDE中导入jar包就可以了。 https://www.seleniumhq.org/download/ 2、 点击java project,右键,b
阅读全文
posted @ 2018-09-14 15:41 lzylh_56
阅读(209)
评论(0)
推荐(0)
编辑
2--Selenium环境准备--第一次使用Testng
摘要: 新建一个方法,加注解@Test,出现错误,鼠标悬浮 (1)convert to testng annotations (2)add testng library
阅读全文
posted @ 2018-09-14 14:43 lzylh_56
阅读(109)
评论(0)
推荐(0)
编辑
1--Selenium环境准备--Eclipse 添加Testng插件
摘要: Eclipse安装TestNG TestNG官网地址:http://testng.org/ 1、离线安装TestNG插件: 受网络等因素影响,在线安装方式速度比较慢,可以通过如下方式离线安装TestNG插件。 通过浏览器直接访问网址, http://beust.com/eclipse,选择最下部的z
阅读全文
posted @ 2018-09-14 14:39 lzylh_56
阅读(126)
评论(1)
推荐(0)
编辑
公告