w3c / webdriver

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

Use lower-case for screen orientation arguments #347

Open andreastt opened 8 years ago

andreastt commented 8 years ago

The open source wire protocol found in the Selenium project defines permitted screen orientation arguments to be PORTRAIT and LANDSCAPE (in upper casing).

My suggestion is that we specify this section to allow case-insensitive arguments to this command.

andreastt commented 8 years ago

An update after speaking to simon.m.stewart is that it would probably be better to standardize on variable arguments such as this to be lower case to stay consistent with the state strings.