![]() ![]() An Exampleīefore we can use Xvfb, we need to install it (along with the browser we want if it's not already loaded). It enables you to run graphical applications without a display (e.g., browser tests on a CI server) while also having the ability to take screenshots. Xvfb (short for X virtual framebuffer) is an in-memory display server for UNIX-like operating system (e.g., Linux). In order to run your tests using a browser that's loaded on your CI Server you will need to configure your tests to launch the browser virtually (e.g., using something like Xvfb). ![]() If you want to run your tests headlessly on a Continuous Integration (CI) server you'll quickly realize that you can't with an out-of-the-box setup since there is no display output for the browser to launch in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |