Closed Bug 962538 Opened 10 years ago Closed 10 years ago

takeScreenshot should capture browser window when no element reference argument is given

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ato, Unassigned)

References

(Blocks 1 open bug)

Details

Marionette currently captures the bounding box of the top-level browsing context's document when no msg.json.id argument is given.  According to the WebDriver specification the expected behaviour is to capture the whole browser window, including the chrome, when no reference to a web element is given.
Looking at the spec I can't see this, I do see swathes of prose that need correcting
As dburns points out I was making things up.  I've filed

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

about defining which area we should capture when a reference a web element isn't given, however.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.