selenium報錯‘unknown error:cannot find Chrome binary’

1、‘unknown error:cannot find Chrome binary’:由於Chrome安裝不是默認路徑(直接拷貝安裝文件),導致selenium找不到安裝程序。 解決辦法:①Chrome安裝到默認路徑。②setBinary方法設置程序路徑。 2、報錯‘The path to the driver executable must be set by the webdriver.ch
相關文章
相關標籤/搜索