selenium.captureScreenshot(filename);
Captures a PNG screenshot to the specified file.
Parameters:
filename the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"
Captures a PNG screenshot to the specified file.
Parameters:
filename the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"
No comments:
Post a Comment