Examples
C# with Selenium HTML to Image Examples
Learn how to use Selenium with C# to:
Screenshot Viewport
The quick reference guide to using C# and Selenium to screenshot the visible viewport.
Screenshot Full Page
Learn how to take a full page screenshot with C# and Selenium.
Screenshot Clip
The quick reference guide to using C# and Selenium to generate clips with specific dimensions.
Screenshot Element
The quick reference guide to using C# and Selenium to generate images of specific css selectors.
Image Size
The quick reference guide to using C# and Selenium to generate images with specific dimensions.
Image Quality
The quick reference guide to using C# and Selenium to generate images with specific quality.
Retina Image
The quick reference guide to using C# and Selenium to generate retina images.
Wait before Screenshot
The quick reference guide to waiting for a page to settle before screenshotting it with C# and Selenium.
HTML to PNG
The quick reference guide to using C# and Selenium to generate PNGs from HTML.
HTML to JPG
The quick reference guide to using C# and Selenium to generate JPEGs from HTML.
HTML to PDF
The quick reference guide to using C# and Selenium to generate PDFs from HTML.
HTML to Base64 Image
Learn how to convert HTML to a base64 image with Selenium and C#.
We created Urlbox to make converting HTML to images easy
Learn more about our website screenshot API.