会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
跳动de手指
音乐 代码 电影 登山 游泳 冲浪 潜水 美女
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2017年2月15日
webdriver---API---(java版) 6
摘要: 1、判断页面元素是否存在/可用 2、操作新弹出的浏览器窗口 3、操作javaScript的Alert、confirm、prompt弹窗
阅读全文
posted @ 2017-02-15 17:12 跳动de手指
阅读(169)
评论(0)
推荐(0)
编辑
webdriver---API---(java版) the fifth part
摘要: 1、拖拽页面元素 2、查看页面元素属性 3、获取页面CSS属性 4、隐式等待 5、常用显式等待 package cn.gloryroad; import org.testng.annotations.Test;import java.io.File;import org.testng.annotat
阅读全文
posted @ 2017-02-15 04:43 跳动de手指
阅读(169)
评论(0)
推荐(0)
编辑
webdriver---API---(java版)4
摘要: 1、杀掉windows的浏览器进程 2、执行javascript脚本 JavascriptExecutor js=(JavascriptExecutor) driver;//声明javascript执行器对象 //调用执行器对象的executeScript方法来执行javascript脚本retur
阅读全文
posted @ 2017-02-15 03:07 跳动de手指
阅读(135)
评论(0)
推荐(0)
编辑