Skip to content

IWebDriver.GetScreenshot()

Yngve Bakken Nilsen edited this page Jun 24, 2014 · 6 revisions

Supported in: Any browser that supports HTML5 Canvas


Returns: System.Drawing.Image

This method will inject Javascript onto the page, and render the contents to a canvas-object which then is sent back to Domify and converted into an Image.

This is an experimental feature, and should be used with care.

Clone this wiki locally