[Bug 24364] New: Define what the capture area is on takeScreenshot

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

            Bug ID: 24364
           Summary: Define what the capture area is on takeScreenshot
           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: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

The wording of the takeScreenshot command isn't great, and it currently doesn't
define which area of the screen to capture when not given an explicit web
element reference.

Selenium uses a prioritized list of preferred things to capture:

   
http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/TakesScreenshot.html

This isn't great and we should mandate something the browsers should do, which
can be one of the following I guess:

  - Browser window including chrome
  - Visible viewport
  - Canvas of bounding box of the document of the top-level browsing context

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

Received on Wednesday, 22 January 2014 17:02:52 UTC