摘要: 当查找元素点击时上报ElementClickInterceptedException,原因是此元素是不可点击的,此时查找其父元素进行点击 xpath_merchart = '//div[text()="孔华生"]/../..'#直接查找元素会上报ElementClickInterceptedExce 阅读全文
posted @ 2022-04-16 16:52 GalaxyStar 阅读(161) 评论(0) 推荐(0) 编辑
摘要: driver = webdriver.Chrome()driver.get("https://cwmstest.tf56.com/login?skipBack=%2Findex")driver.execute_script(js.format('http://mtest.tf56.com/cwms/ 阅读全文
posted @ 2022-04-16 14:43 GalaxyStar 阅读(777) 评论(0) 推荐(0) 编辑