- From: David Burns <dburns@mozilla.com>
- Date: Wed, 23 Jan 2013 15:13:30 +0000
- To: public-browser-tools-testing <public-browser-tools-testing@w3.org>
Received on Wednesday, 23 January 2013 15:14:04 UTC
I would like to propose that 16.3 use the same method as in 16.2 and
that 16.2 take an additional parameter of the element ID.
e.g.
Command Name takesScreenshot
Parameters "sessionId" {string} The key that identifies which session
this request is for.
"elementId" {string} The key that identifies which WebElement must be
captured
Return Value {string} A Base64 encoded, lossless PNG of the current
window.
Errors WebDriverException if the screenshot cannot be taken.
This will simplify code for the remote end and will just be an extension
to the current URL in the JSON Wire Protocol to
//session/:sessionId/screenshot/:id/
David
Received on Wednesday, 23 January 2013 15:14:04 UTC