
selenium
冰风漫天
活到老,写到老
展开
-
selenium选择系统chrome进行操作
查看chrome.exe的路径,比如是C:\Users\xxx\AppData\Local\Google\Chrome\Application\chrome.exe命令行执行C:\Users\xxx\AppData\Local\Google\Chrome\Application\chrome.exe --remote-debugging-port=9123 --user-data-dir=“...原创 2020-02-24 23:23:59 · 1426 阅读 · 0 评论 -
selenium执行click报错的解决方案
在执行driver.find_element_by_class_name('xxx').click()操作时可能出现如下提示错误:selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <div class="xxx">......原创 2020-01-30 11:04:59 · 4284 阅读 · 1 评论 -
selenium使用的webdriver的下载地址
chromehttp://chromedriver.storage.googleapis.com/index.html下载后放到python的安装目录firefoxhttps://github.com/mozilla/geckodriver/releases/下载后放到firefox的安装目录原创 2020-01-21 09:26:49 · 229 阅读 · 0 评论