Please focus on the area highlighted in red.
As shown, when I try to do a search by typing "7396198", the
"Loading content. Please wait" never disappears, so search is not working.
I can do an assertion for whether
"Loading content. Please wait." text is present and validate the search functionality.
But as shown in the screenshot, the console log indicates that there is an internal server error.
Is there a better programmatic approach to validating this search functionality with the help of console log details?