簡體   English   中英

發生異常:WebDriverException

[英]Exception has occurred: WebDriverException

有人告訴我,我的 chromedriver 會發生什么???

***這是我的蹤跡***

Exception has occurred: WebDriverException
Message: unknown error: Chrome failed to start: exited abnormally
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
  (Driver info: chromedriver=71.0.3578.80,platform=Linux 4.9.230-76 aarch64)
  File "/home/odroid/Documents/python/crawling-worker/utils/driver_utils.py", line 140, in create_driver
    driver = webdriver.Chrome(chrome_options=options)
  File "/home/odroid/Documents/python/crawling-worker/main.py", line 26, in main
    driver = create_driver(db.account)
  File "/home/odroid/Documents/python/crawling-worker/main.py", line 35, in <module>
    main()

這意味着您在某處使用 send_keys(filepath) 並且該文件不存在於該路徑中

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM