[英]Selenium for Python opens chrome tab with "data" rather than specified URL
My chromedriver and chrome app are the same up to date version, but the tab still just opens to "data" in the URL bar我的 chromedriver 和 chrome 应用程序是相同的最新版本,但选项卡仍然只打开到 URL 栏中的“数据”
driver = webdriver.Chrome(executable_path="C:\\Windows\\chromedriver.exe")
driver.get("https://google.com")
Driver instance can be simply驱动实例可以很简单
driver = webdriver.Chrome(r'path\to\chromedriver.exe') driver = webdriver.Chrome(r'path\to\chromedriver.exe')
Is chrome and driver at last version? chrome和驱动程序是最新版本吗?
sintax is ok,try change crhomedriver path to sintax 没问题,尝试将 crhomedriver 路径更改为
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.