摘要: 有时候为了测试需要,可能需要使用测试手机wap这样的站点,如果用真正的手机去测试也可以实现,但是比较麻烦,我们可以通过设置chrome的user agent来伪装浏览器,达到我们的测试目的。 阅读全文
posted @ 2017-07-04 09:32 碎冰 阅读(4354) 评论(0) 推荐(1) 编辑
摘要: Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html 阅读全文
posted @ 2017-07-04 09:29 碎冰 阅读(1246) 评论(0) 推荐(0) 编辑