Open titusfortner opened 2 years ago
Thanks @titusfortner! We will cover that scenario via https://bugzilla.mozilla.org/show_bug.cgi?id=1742357
This still seems not to be fixed as of v33. Getting 405 response with a "text/plain" payload, body: "HTTP method not allowed" for Geckodriver when I use a mis-specified command path...
Right, and that's the reason why this issue is still open. Also there is no easy fix for that. You can find more details in the above referenced bug.
As part of testing the new shadow root endpoints, I'm running on Firefox and I'm not getting the error I'm expecting.
If the command has not been defined, then I expect to get a 404 response with a "text/json" payload with error value of "unknown command"
Instead I'm getting a 405 response with a "text/plain" payload, body: "HTTP method not allowed"
There's nothing in the Marionette logs:
Fwiw, Safari is returning what I expect to see: