摘要: js_code = """ function getRect(elements) { var rect = elements.getBoundingClientRect(); w = rect.width || rect.right - rect.left; h = rect.height || r 阅读全文
posted @ 2020-12-29 10:54 雪丶寒 阅读(494) 评论(0) 推荐(0)
摘要: 一:可以使用selenium去点击 selenium默认的点击操作是点元素0,0点坐标,那么我们可以在元素x,y坐标上加5,让点击操作往里一点。 from selenium.webdriver.common.action_chains import ActionChains ActionChains 阅读全文
posted @ 2020-12-29 10:50 雪丶寒 阅读(532) 评论(0) 推荐(0)