w3c / device-posture

Device Posture API
https://www.w3.org/TR/device-posture/
Other
33 stars 21 forks source link

Spec should specify a testing interface #140

Closed rakuco closed 6 months ago

rakuco commented 6 months ago

Having a way to programmatically specify a certain device posture when testing a web app would be helpful to authors as well as for testing the API itself in web-platform-tests.

We could define one or more WebDriver Classic endpoints for setting and clearing a posture override that would be used by a top-level traversable and its children navigables.