3
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
4
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
5
<title>DefaultSelenium.CaptureEntirePageScreenshotToString Method</title>
8
<link rel="stylesheet" type="text/css" href="MSDN.css" />
10
<body id="bodyID" class="dtBODY">
13
<table class="bannerparthead" cellspacing="0">
15
<td class="runninghead">An NDoc Documented Class Library</td>
22
<h1 class="dtH1">DefaultSelenium.CaptureEntirePageScreenshotToString�Method�</h1>
26
<p>Downloads a screenshot of the browser current window canvas to a based 64 encoded PNG file. The <em>entire</em> windows canvas is captured, including parts rendered outside of the current view port. Currently this only works in Mozilla and when running in chrome mode. </p>
27
<div class="syntax">public�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a>�CaptureEntirePageScreenshotToString(<br />���<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a>�<i>kwargs</i><br />);</div>
28
<h4 class="dtH4">Parameters</h4>
33
<dd>A kwargs string that modifies the way the screenshot is captured. Example: "background=#CCFFDD". This may be useful to set for capturing screenshots of less-than-ideal layouts, for example where absolute positioning causes the calculation of the canvas dimension to fail and a black background is exposed (possibly obscuring black text).</dd>
35
<h4 class="dtH4">Return Value</h4>
36
<p>The base 64 encoded string of the page screenshot (PNG file)</p>
37
<h4 class="dtH4">Implements</h4>
39
<a href="Selenium.ISelenium.CaptureEntirePageScreenshotToString.html">ISelenium.CaptureEntirePageScreenshotToString</a>
41
<h4 class="dtH4">See Also</h4>
43
<a href="Selenium.DefaultSelenium.html">DefaultSelenium Class</a> | <a href="Selenium.html">Selenium Namespace</a></p>
b'\\ No newline at end of file'