This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Because we have commands that receive open-ended arguments there should be a way for drivers to refuse performing a command because of invalid or malformed arguments. I suggest we call such a status code “invalid argument”. A good example of when this is needed is the setScreenOrientation command which receives a string of either “PORTRAIT” or “LANDSCAPE”. If the user sends something other than these strings the best a driver can do right now is to pass a non-descriptive WebDriverException/500.
Landed in https://dvcs.w3.org/hg/webdriver/rev/c01d6518e4c1
\o/