10 2021 档案
摘要:前提代码路径都对,定位元素不存在 dri.find_element(By.XPATH,'//*[@id="submitButton"]/span').click() sleep(2) dri.find_element(By.XPATH,"//span[contains(text(),'按钮')]")
阅读全文
摘要:一、Selenium安装 1. Python3.x安装后就默认就会有pip(pip.exe默认在python的Scripts路径下),打开 cmd,使用pip安装selenium: pip install selenium 2. 可使用以下命令查看是否安装成功: pip show selenium
阅读全文

浙公网安备 33010602011771号