摘要: 最近研究点击淘宝商品底部 点击“下一页”问题。今天经网友指导得解,感谢网友且听风吟和燊! 分析原因:没加载上和定位问题 解决思路:用js将浏览器滚动到底部,等待加载完,再进行点击解决代码:package wxLinkParaser;import org.openqa.selenium.By;import org.openqa.selenium.JavascriptExecutor;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;import org.openqa.selenium.chrome 阅读全文
posted @ 2014-04-10 10:20 方晓丹 阅读(3509) 评论(2) 推荐(0) 编辑