📜  DeprecationWarning: executable_path has been deprecated, please pass in a Service in a class object self.driver = webdriver.Chrome - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:39.556000             🧑  作者: Mango

代码示例3
from selenium import webdriver

PATH = '/Users/blutch/Documents/Chrom Web Driver\chromedriver.exe'
driver = webdriver.Chrome(PATH)
driver.get("https://www.google.com")