Closed garg3133 closed 2 months ago
Fixes: #4078
Right now, whenever the new Element API is unable to find an element, it throws a very generic Error. Instead, it should throw a NoSuchElementError with proper information and help text with the error message.
Error
NoSuchElementError
Fixes: #4078
Right now, whenever the new Element API is unable to find an element, it throws a very generic
Error
. Instead, it should throw aNoSuchElementError
with proper information and help text with the error message.