Re: Invalid driver state error

On Mon Nov 17 2014 at 12:00:56 PM Andreas Tolfsen <ato@mozilla.com> wrote:

> There's currently isn't a way for a remote end to say that it has a
> problem with the current state it's in that is unrecoverable.
>
> Consider Marionette switching to chrome context and the user tries to
> navigate to a URL.  This is considered an illegal operation and we
> need to tell the user that.
>

Wouldn't this be covered by "unsupported operation"?

https://github.com/w3c/webdriver/blob/master/02_commands.html#L153


>
> A generic “invalid driver state” error would address this.  Are there
> any alternatives?  Or do we want to open up for arbitrary string
> status codes that the remote can define?
>
>

Received on Monday, 17 November 2014 20:14:56 UTC