how to close Python selenium webdriver window

后端 未结 5 2006
南旧
南旧 2021-02-12 13:30

I have a python script that scraps data off from a website on an hourly basis. It is stored on the server at the moment and is working well as I am using task scheduler to sched

5条回答
  •  情歌与酒
    2021-02-12 14:16

    I use linux command to close all. Here're two commands I ran after all scraping job is done:

    • pkill firefox
    • pkill Xcfb

提交回复
热议问题