03 2016 档案

摘要:WebDriver can't action the element when out of view Webdriver can't action the element when the element is out of view 1. Scroll to the element use ja 阅读全文
posted @ 2016-03-21 23:20 悟空救我呀 阅读(169) 评论(0) 推荐(0)
摘要:Same times the webdriver hangs when get url or click some link, webdriver executing (get or click) but no done. 1. For firefox 2. For IE profile is no 阅读全文
posted @ 2016-03-16 22:51 悟空救我呀 阅读(166) 评论(0) 推荐(0)
摘要:Grid parameter: role = <hub|node> (default is no grid, just run an RC/webdriver server). When launching a node, the parameters will be forwarded to th 阅读全文
posted @ 2016-03-16 22:05 悟空救我呀 阅读(405) 评论(0) 推荐(0)
摘要:Start Hub and Node with Json config 1. Start Hub with json config file title HubWebDriver java -jar selenium-server-standalone-2.29.0.jar -role hub -h 阅读全文
posted @ 2016-03-09 23:22 悟空救我呀 阅读(452) 评论(0) 推荐(0)
摘要:title NodeWebDriver java -jar selenium-server-standalone-2.42.2.jar -Dwebdriver.ie.driver="C:\Selenium\IEDriverServer.exe" -Dwebdriver.ie.bin="C:\Prog 阅读全文
posted @ 2016-03-09 22:55 悟空救我呀 阅读(740) 评论(0) 推荐(0)
摘要:WebDriver失败截图可以通过两种方式实现: 1. Use WebdriverEventListener 第一步:创建自己的WebDriverEventListener 创建自己的WebDriverEventListener 重写Onexception 方法, 当webdriver 遇到异常的时 阅读全文
posted @ 2016-03-09 22:46 悟空救我呀 阅读(510) 评论(0) 推荐(0)