# check the html on the page - skip this for brevity $mech->page_links_ok(); html_tidy_ok( $mech->content() ); #### $mech->content_contains( 'Sorry, we couldn’t find anything that matched your search.' );