I want to capture default error message of Edit text box.
I am using getText() method but can not capture that error message. I can not found the element id of the error message.
Is there any other way to capture this error message?
I want to Capture Email must be Valid error message from below screenshot.
Please find the below screenshot as reference.