robotframework-browser icon indicating copy to clipboard operation
robotframework-browser copied to clipboard

Go to should return HTTP status code

Open mkorpela opened this issue 4 years ago • 0 comments

Describe the bug We should detect 404 and 500 return codes. page.goto will not throw an error when any valid HTTP status code is returned by the remote server, including 404 "Not Found" and 500 "Internal Server Error". The status code for such responses can be retrieved by calling response.status().

So return code should be returned when we navigate to a page.

mkorpela avatar Sep 15 '20 20:09 mkorpela