Don't stop script execution on non HTTP 200 #553
Labels
area/drivers
HTML drivers
good first issue
Good for newcomers
help wanted
Extra attention is needed
type/enhancement
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
Currently, there are services that secure website from automation tools like ferret. Some of them send 405 in response to the DOCUMENT function call that make a ferret script fail with an error even though a page is available (not the original page, but usually a page with the captcha).
Describe the solution you'd like
It would be nice to either have some kind of flag that will tell ferrret to ignore response codes and continue the script execution or to pass response codes to ignore as a parameter to the DOCUMENT function, for exemple.
Additional context
For the example with the captcha above, the script could have contunued the execution and wait for someone solving the captcha manually (in non-headless browser). It can be achieved by just calling a "wait for element" function.
The text was updated successfully, but these errors were encountered: