Quantcast
Channel: coder i|o: #selenium
Viewing all articles
Browse latest Browse all 110

Python - Taking Browser Screenshots With No Display (Selenium/Xvfb)

$
0
0

From coreygoldberg.blogspot.com:

In my last two blog posts, I showed examples of using Selenium WebDriver to capture screenshots, and running in a headless (no X-server) mode. This example combines the two solutions to capture screenshots inside a virtual display. To achieve this, I use a combination of Selenium WebDriver and pyvirtualdisplay (which uses xvfb) to run a browser in a virtual display and capture screenshots.

Click here to read more

Tagged: #python #selenium #browser


Viewing all articles
Browse latest Browse all 110

Trending Articles