Open Bug 1571469 Opened 5 years ago Updated 2 years ago

"WebDriver:TakeScreenshot" and"WebDriver:TakeElementScreenshot" commands have poor error handling

Categories

(Remote Protocol :: Marionette, defect, P3)

Version 3
defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug)

Details

Some bits for error handling are still missing from the WebDriver spec to be fully conformant:

  • No error raised when height or size is 0 pixel
  • Failure handling for base64 encoding missing (should also apply to hash)

https://w3c.github.io/webdriver/#dfn-draw-a-bounding-box-from-the-framebuffer

Severity: normal → S3
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.