09 2017 档案

摘要:selenium2中的等待 分两种 Explicit Waits Implicit Waits Explicit Waits(显示等待) 等待一个指定的条件发生后,再去执行后续代码。比较差的应用就是Thread.sleep()(指定一个固定的时间去等待) WebDriverWait 和 expect 阅读全文
posted @ 2017-09-12 17:05 项磊磊 阅读(178) 评论(0) 推荐(0)
摘要:一、Firefox 使用最新版本firefox 55.0.3 selenium版本 selenium 3.5.0 selenium取消了默认支持firefox浏览器,需要使用第三方geckodriver.exe调用(类似selenium2时使用的chromedriver.exe) geckodriv 阅读全文
posted @ 2017-09-12 16:19 项磊磊 阅读(244) 评论(0) 推荐(0)
摘要:class WebDriver(webdriver.Remote): def __init__(self, command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=None, browser_profile=None, proxy=None, keep_alive=Fal... 阅读全文
posted @ 2017-09-08 16:27 项磊磊
摘要:org.apache.maven.plugins maven-compiler-plugin 2.1 1.8 ... 阅读全文
posted @ 2017-09-07 16:44 项磊磊 阅读(165) 评论(0) 推荐(0)