Working with HTML Canvas

Learn how to work with HTML5 canvas using Selenium.

Save a canvas to PNG Image

HTML Canvas is used to draw graphics, typically via JavaScript. We can save the graphic in a canvas element to a PNG image file for test verification purposes.

Get hands-on with 1200+ tech skills courses.