I just ran across the following in Selenium IDE in the Reference pane regarding *{font:style=font-family: Arial;}captureEntirePageScreenshot{font}* commands.
{font:style=font-family: Arial;}*captureEntirePageScreenshotAndWait(filename, kwargs)
Generated from *captureEntirePageScreenshot(filename, kwargs)*Arguments:
filename - the path to the file to persist the screenshot as. No filename extension will be appended by default. Directories will not be created if they do not exist, and an exception will be thrown, possibly by native code.
kwargs - a kwargs string that modifies the way the screenshot is captured. Example: "background=#CCFFDD" . Currently valid options:
background
the background CSS for the HTML document. 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).
{font:font-family=Arial}Saves the entire contents of the current window canvas to a PNG file.
{font}
*{font}
*{font:style=color: #ff0000; font-family: Arial;}Contrast this with the captureScreenshot command, which captures the contents of the OS viewport{font}* {font:style=font-family: Arial;}(i.e. whatever is currently being displayed on the monitor), {font}*{font:style=color: #ff0000; font-family: Arial;}{font:style=color: #ff0000; font-family: Arial;}and is implemented in the RC only{font}{font}*{font:style=font-family: Arial;}. Currently this only works in Firefox when running in chrome mode, and in IE non-HTA using the EXPERIMENTAL "Snapsie" utility. The Firefox implementation is mostly borrowed from the Screengrab! Firefox extension. Please see {font}[
http://www.screengrab.org/]{font:style=font-family: Arial;} and {font}[
http://snapsie.sourceforge.net/]{font:style=font-family: Arial;} for details.{font}
Thanks for the suggestion.
I'll make copies of my scripts, and substitute each incidence of *captureEntirePageScreenshot* with {font:style=color: #ff0000;}*captureScreenshot.* {font}{font:style=color: #000000;}I'll let you know how I make out.{font}