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

Remove spurious "x is not a target" exceptions when refresh called on a target offscreen #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frankier
Copy link

Currently if you try to .refresh() an element off screen, found will not get set to true, and check throws the "x is not a target" exception. I don't think the caller should have to check if the element is on screen, so this just suppresses the error in this case.

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

Successfully merging this pull request may close these issues.

1 participant