Python - Firefox Headless

后端 未结 5 591
孤独总比滥情好
孤独总比滥情好 2020-12-05 05:38

I\'ve spent the last few days messing around with Selenium, Tor, and Firefox as a combination for multiple tasks. I\'ve managed to write a simple script in Python that takes

5条回答
  •  [愿得一人]
    2020-12-05 06:10

    xvfb is a common way of doing this. Searching for "selenium xvfb" should find lots, such as:

    • Is it possible to run Selenium scripts without having an X server running, too?
    • How do I run Selenium in Xvfb?
    • http://www.alittlemadness.com/2008/03/05/running-selenium-headless/

提交回复
热议问题