Extended Monitoring Guide

3. Assertions

  • code <code> - Assert that the last page loaded had this HTTP status. For example, ``code 200`` asserts that the page loaded correctly.

  • find <regexp> - Assert that the page contains this regular expression.

  • notfind <regexp> - Assert that the page does not contain this regular expression.

  • url <regexp> - Assert that the current URL matches the given regexp.

  • title <regexp> - Assert that the title of this page matches this regular expression.