摘要: 1. OverviewIn this tutorial – we’ll POST with the HttpClient 4 – using first authorization, then the fluent HttpClient API. Finally – we will discuss ... 阅读全文
posted @ 2016-01-19 11:53 danielchang 阅读(241) 评论(0) 推荐(0)
摘要: http://useragentstring.com/pages/Browserlist/ 阅读全文
posted @ 2016-01-12 17:19 danielchang 阅读(500) 评论(0) 推荐(0)
摘要: 1.Scroll until the element is in view1 WebElement element = driver.findElement(By.id("id_of_element"));2 ((JavascriptExecutor) driver).executeScript("... 阅读全文
posted @ 2016-01-12 17:16 danielchang 阅读(299) 评论(0) 推荐(0)
摘要: 1.IE浏览器下截图: 1 public static void takeScreenShotIE(WebDriver driver, String name){ 2 WebDriver augmentedDriver = new Augmenter().augment(driver); 3 ... 阅读全文
posted @ 2016-01-12 17:10 danielchang 阅读(2357) 评论(0) 推荐(0)