Python Selenium错误:如何找到网站的路径?

Python Selenium错误:如何找到网站的路径?,python,html,selenium,web-scraping,Python,Html,Selenium,Web Scraping,我对selenium非常陌生,不知道如何将url更改为PATH。我在下面附上了我的代码 from selenium import webdriver from bs4 import BeautifulSoup import pandas as pd driver = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver") driver.get("https://www.goodreads.com/list

我对selenium非常陌生,不知道如何将url更改为PATH。我在下面附上了我的代码

from selenium import webdriver
from bs4 import BeautifulSoup
import pandas as pd
driver = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")
driver.get("https://www.goodreads.com/list/show/264.Books_That_Everyone_Should_Read_At_Least_Once")
我收到一条“os.path.basename(self.path)、self.start\u错误消息) selenium.common.exceptions.WebDriverException:消息:“chromedriver”可执行文件需要位于路径中。“错误。”


谢谢大家!

这回答了你的问题吗?