Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify error message on empty range selector #1107

Open
MattiSG opened this issue Sep 24, 2024 · 0 comments
Open

Clarify error message on empty range selector #1107

MattiSG opened this issue Sep 24, 2024 · 0 comments

Comments

@MattiSG
Copy link
Member

MattiSG commented Sep 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant