in reply to Re^2: I want to be a perl web browser -- what are my best options?
in thread I want to be a perl web browser -- what are my best options?
To save you some time, here's a couple of hints from my brief experience:
This does a lot of work in just two little lines.# check the html on the page - skip this for brevity $mech->page_links_ok(); html_tidy_ok( $mech->content() );
This one took me forever to work out how to match the apostrophe. I went with the html entity in the end.$mech->content_contains( 'Sorry, we couldn’t find anything that +matched your search.' );
|
|---|