seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.67k stars 929 forks source link

"xvfb" mode sometimes leaves an Xvfb process running afterwards #1747

Closed mdmintz closed 1 year ago

mdmintz commented 1 year ago

"xvfb" mode sometimes leaves an Xvfb process running afterwards

Any test that starts Xvfb should also make sure to stop Xvfb at the end of the test.

More info about Xvfb: https://en.wikipedia.org/wiki/Xvfb

SeleniumBase uses sbvirtualdisplay to start and stop Xvfb processes. (sbvirtualdisplay is a modified fork of pyvirtualdisplay)

mdmintz commented 1 year ago

This was fixed in 4.13.0 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.13.0