Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: cannot get automat

因爲工作,我需要學習自動化測試,在使用selenium時出現了bug,廢話不多說,先貼報錯信息 定位錯誤代碼行 這句代碼是chromedriver使瀏覽器最大化 之所以報錯是因爲chromedriver版本太舊了 首先查看你的Chrome瀏覽器版本 可以通過https://npm.taobao.org/mirrors/chromedriver/ 這個網址查看chromedriver與對應的Chro
相關文章
相關標籤/搜索