3 ms·
I just use XVFB. xvfb-run --server-args='-screen 0 1024x768x24 -ac' chromium-browser --user-data-dir <url>
by jsprogrammer 10y ago
I just use XVFB.
xvfb-run --server-args='-screen 0 1024x768x24 -ac' chromium-browser --user-data-dir <url>
- snuxoll 10y agoI do to, but not for testing (we don't actually do any scripted UI tests, we should, but they are time consuming to write). We have a Python service that uses Firefox, Selenium and XVFB (through the awesome PyVirtualDisplay library, check it out) to log into a website that uses an annoying Java applet + scripting for authentication. This ended up cutting off a huge headache where previously we were doing this in a Windows scheduled task that needed an active console session to do anything.