摘要: selenium自动化模拟的时候,有时候要模拟到拖动滚动条,所以放上代码啦~ 下面代码是直接拉到底 for i in range(4, 9):time.sleep(0.5)driver.execute_script('window.scrollTo(0, document.body.scrollHe 阅读全文
posted @ 2021-01-11 18:59 小军递 阅读(800) 评论(0) 推荐(1)