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

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

  •  
  •   sc13 · Feb 20, 2019 · 3365 views
    This topic created in 2648 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
        1
    niknik  
       Feb 20, 2019
    没遇到过,还没进去就被浏览器抓住了
    wellCh4n
        2
    wellCh4n  
       Feb 20, 2019
    以前我也碰到过这个问题

    driver.close()
    driver.quit()

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