[Bug 27920] New: [WebDriver Spec]: takeScreenshot is a GET but what about screenshots of elements??

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27920

            Bug ID: 27920
           Summary: [WebDriver Spec]: takeScreenshot is a GET but what
                    about screenshots of elements??
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: dburns@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
            Blocks: 20860

When ripping out webIDL I noticed that in takeScreenshot is a GET which aligns
with the OSS Project implementation[1].

We also have the ability now to take screenshots of elements. This will either
need to be a POST of the current url endpoint (yuck in my opinion) or a
completely new endpoint. I propose we using

GET /session/{sessionId}/screenshot/{ELEMENT}

instead of changing the original call to POST.

Thoughts?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 28 January 2015 23:27:42 UTC