This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When attempting to reuse an ended session you should get an error. All commands called after `DELETE /session/{session_id}` or `DELETE /session/{session_id}/window` on the last window should should result in error responses. The Selenium project uses the “NoSuchDriver” exception to indicate this and we don't seem to have any equivalent of that. Maybe a “session expired” error or something similar would make sense?
I did a preliminary pass at this: https://github.com/w3c/webdriver/pull/9 Critique is welcome.
https://github.com/w3c/webdriver/commit/796c959c68d68a40ac3ad1ef5f6afdd9bb05dc95