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

Keep error's original messages for NoSuchElementError. #4191

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

garg3133
Copy link
Member

For NoSuchElementError errors, the error messages always gets overwritten by the default message for such error, but we should instead give preference to the original error message as that would also contain information on the selectors used for the element.

Copy link

Status

  • ❌ No modified files found in the types directory.
    Please make sure to include types for any changes you have made. Thank you!.

@garg3133 garg3133 merged commit 0e1b273 into nightwatchjs:main Apr 17, 2024
16 of 17 checks passed
@garg3133 garg3133 deleted the nosuchelementerror branch April 17, 2024 17:58
Ayush-Vish added a commit to Ayush-Vish/nightwatch that referenced this pull request May 8, 2024
dikwickley pushed a commit to dikwickley/nightwatch that referenced this pull request Oct 15, 2024
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