• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






开发+测试

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | | 管理

2017年7月5日

selenium-webdriver层级定位元素
摘要: /*<div id="divId"> <input id="userid" type="text" value="liuhaixia" title="用户名" name="userid" class="uid"> <input id="password" type="password" value= 阅读全文
posted @ 2017-07-05 11:51 liuhaixia 阅读(326) 评论(0) 推荐(0)
 
selenium-webdriver定位多个元素
摘要: /*<div id="divId"> <input id="userid" type="text" value="liuhaixia" title="用户名" name="userid" class="uid"> <input id="password" type="password" value= 阅读全文
posted @ 2017-07-05 11:50 liuhaixia 阅读(391) 评论(0) 推荐(0)
 
selenium-webdriver八种定位元素的常用方式
摘要: /*<div id="divId"> <input id="userid" type="text" value="liuhaixia" title="用户名" name="userid" class="uid"> <input id="password" type="password" value= 阅读全文
posted @ 2017-07-05 11:49 liuhaixia 阅读(186) 评论(0) 推荐(0)
 
selenium-webdriver启动时开启firebug
摘要: File file = new File("D:/software/firefox/firebug-2.0.16-fx.xpi"); FirefoxProfile profile = new FirefoxProfile(); profile.addExtension(file); profile. 阅读全文
posted @ 2017-07-05 11:47 liuhaixia 阅读(118) 评论(0) 推荐(0)