問題
最近剛上手robotframework,運行robotframework,試圖使用谷歌瀏覽器打開網址時候,打開谷歌瀏覽器閃退,報錯“INFO: cannot capture screenshot because no browser is open”,"FAIL: webdriver exception,chromedriver executable needs to be in PATH ",說明webdriver驅動不能使用。
解決辦法
需要更換 C:\Python27 下的chromedriver驅動。更換此驅動後在本機上測試運行正常,本機谷歌瀏覽器爲版本 76.0.3809.132(正式版本) (64 位)。
如下