w3c / webdriver

Remote control interface that enables introspection and control of user agents.
https://w3c.github.io/webdriver/
Other
684 stars 195 forks source link

`Print Page` command should fail with "invalid argument" error when printing an empty page #1835

Closed whimboo closed 1 month ago

whimboo commented 3 months ago

This is similar to WebDriver BiDi, which was covered in https://github.com/w3c/webdriver-bidi/issues/473. If the height or width of the page is smaller than 2.54/72 = 0.0352 a invalid argument error should be returned.

juliandescottes commented 1 month ago

Fixed by #1843