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.
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.