selenium的配置指南:
chromedriver下载网页:
from selenium import webdriverchromedriver_path = "\\chromedriver.exe" # chromedriver的安装地址url = "****.com" # 待打开的网页地址browser = webdriver.Chrome(chromedriver_path)browser.get(url)
本文共 262 字,大约阅读时间需要 1 分钟。
selenium的配置指南:
chromedriver下载网页:
from selenium import webdriverchromedriver_path = "\\chromedriver.exe" # chromedriver的安装地址url = "****.com" # 待打开的网页地址browser = webdriver.Chrome(chromedriver_path)browser.get(url)
转载于:https://www.cnblogs.com/ystwyfe/p/8466966.html