› Get Google Chrome
› Vimium · 在 Chrome 里使用 vim 快捷键
sc13
V2EX  ›  Chrome

Python +selenium+chromedriver 做爬虫,chrome 进程总会有残留,有没有 V 友遇到过这样的情况?

  •  
  •   sc13 · Feb 20, 2019 · 3715 views
    This topic created in 2817 days ago, the information mentioned may be changed or developed.

    爬虫跑完,driver.quit() driver.close()都试过,但是进程里面依然会有 chrome 的进程存在.网上说的方法也试过 没起作用

    2 replies  •  2019-02-20 17:44:47 +08:00
    niknik
    niknik
    Feb 20, 2019
    1
    没遇到过,还没进去就被浏览器抓住了
    wellCh4n
    wellCh4n
    Feb 20, 2019
    2
    以前我也碰到过这个问题

    driver.close()
    driver.quit()

    都跑一遍,后来好像就没出现过了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1393 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 01:07 · PVG 09:07 · LAX 17:07 · JFK 20:07
    ♥ Do have faith in what you're doing.