Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Forum Post: Function for text check: Script to show error when a particular text is visible. (i.e. "Sorry, something went wrong)

$
0
0
HI. I would like my script to fail and throw an error when a particular test appears on the recorded site. I know how to verify an existing text on the site but don't know how to make the script error out a text ("Sorry, something went wrong"). The script is just searching for a keyword and capturing the result. When the result page renders with a message "Sorry, something went wrong" and doesn't have the search result that is needed the script does not fail. Because it has the keyword that it is reaching and verifying that text. So I just need to know how to make the script fail when this message "Sorry, something went wrong shows up.

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>