Selenium Chromedriver Hangs?

后端 未结 2 1099
孤街浪徒
孤街浪徒 2021-02-06 01:52

I have a long running python app that will periodically (every 30-60 seconds) open a webpage with selenium and chrome driver, run some javascript and take a screenshot. Its runn

2条回答
  •  耶瑟儿~
    2021-02-06 02:08

    I ran into a similar issue and found the answer here and blogged about it here. Setting the environment variable DBUS_SESSION_BUS_ADDRESS=/dev/null worked for me without having to restart Xvfb all the time.

提交回复
热议问题