engine icon indicating copy to clipboard operation
engine copied to clipboard

Clarify error message on empty range selector

Open MattiSG opened this issue 1 year ago • 0 comments

When I use a selector that has an empty intersection, for example because the endBefore is before the startBefore, I get the following error:

     ExtractDocumentError: Extract failed: The provided selector "[object Object]" has no match in the web page at 'https://example.com'

It is unclear if one of the two range ends selector does not match, is misspelled, or if the intersection is empty.

MattiSG avatar Sep 24 '24 09:09 MattiSG