擅长:python、mysql、java
<p>我也遇到了同样的问题,用期权法解决了。在</p>
<pre><code>from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
options.binary_location = "C:\Program Files (x86)\Google\Chrome Dev\Application\chrome.exe"
driver = webdriver.Chrome(chrome_options=options, executable_path=r"C:\Program Files (x86)\Google\chromedriver.exe", )
driver.get("https://www.google.com/")
</code></pre>
<p>希望它能解决你的问题。在</p>