08 2014 档案

摘要:WordPress 的 rich text采用js,先让selenium切换到iframe中driver.switchTo().frame("content_ifr");然后执行JSWebElement editor = driver.findElement(By.tagName("body"));... 阅读全文
posted @ 2014-08-30 23:10 to be crazy 阅读(4196) 评论(1) 推荐(0) 编辑
摘要:/* * this function will read from excel * and will return the items of excel */ public static String[][] readExcel(String config) ... 阅读全文
posted @ 2014-08-19 20:06 to be crazy 阅读(1208) 评论(0) 推荐(0) 编辑
摘要:package baidu; import java.io.File;import java.io.IOException; import java.util.List;import org.apache.commons.io.FileUtils; import org.openqa.seleniu... 阅读全文
posted @ 2014-08-19 20:05 to be crazy 阅读(1542) 评论(0) 推荐(0) 编辑
摘要:pexpect是python交互模块,有两种使用方法,一种是函数:run另外一种是spawn类1.pexpect module 安装 pexpect属于第三方的,所以需要安装, 目前的版本是 3.3 下载地址 https://pypi.python.org/pypi/pexpect/ 安装步骤... 阅读全文
posted @ 2014-08-03 16:58 to be crazy 阅读(24460) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示