nightwatchjs / nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
https://nightwatchjs.org
MIT License
11.79k stars 1.31k forks source link

Keep error's original messages for NoSuchElementError. #4191

Closed garg3133 closed 5 months ago

garg3133 commented 5 months ago

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.

github-actions[bot] commented 5 months ago

Status