Open Bug 1560113 Opened 3 months ago Updated 3 months ago

WebDriver:TakeScreenshot of web element captures area outside of viewport

Categories

(Testing :: Marionette, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: ato, Unassigned)

References

(Blocks 1 open bug)

Details

As described in https://github.com/mozilla/geckodriver/issues/1567,
the WebDriver:TakeScreenshot command with an element argument
(equivalent to the Take Element Screenshot command in the WebDriver
specification) should be clipped by the initial viewport dimensions.

We also have a bug on file for the non-element (aka document)
screenshot command which exhibits the same problem. A patch would
fix both bugs.

See Also: → 1434313
Priority: -- → P3
Blocks: webdriver
You need to log in before you can comment on or make changes to this bug.