Types
SeleniumWebDriverException = object of CatchableError
- Source Edit
SeleniumProtocolException = object of SeleniumWebDriverException
- Source Edit
SeleniumServerException = object of SeleniumProtocolException
- Source Edit
SeleniumNotFoundException = object of SeleniumProtocolException
- Source Edit
Procs
proc checkHttpResponse(resp: Response) {...}{.raises: [ValueError, OverflowError, Defect, IOError, OSError, JsonParsingError, Exception, SeleniumServerException, SeleniumNotFoundException], tags: [ReadIOEffect, WriteIOEffect].}
-
Check Selenium API response.
- Raise SeleniumNotFoundException if HTTP 404 response without "unknown command".
- Raise SeleniumServerException if other HTTP error(4xx, 5xx).