Closed spl closed 4 years ago
I'm open to feedback, including on the name of the option and if this is the best approach.
mb revert skipParseError|skipProcessError
?
mb revert
skipParseError|skipProcessError
?
Hmm. It's not exactly a parsing error, and I don't think of it as a processing error personally. I guess I view it as how you interpret the HTML input with or without the selector: is it a failure or not?
Another option for the name is ignoreMissingSelector
.
ignoreMissingSelector
👍
Done. Thanks!
Add the option
errorIfSelectorNotFound
, which, iffalse
, prevents an error from being thrown if the selector is not found.Fixes #6