enygma / frisk

An automated front-end unit testing testing tool written in PHP designed to mimic web requests and evaluate the response
http://testwithfrisk.com
14 stars 0 forks source link

allow ActionFindHtml to use regex & return for use #19

Open enygma opened 13 years ago

enygma commented 13 years ago

Modify the findHtml call to not only allow regex (or xpath?) on the value but also to return the found item in future actions.

Example:

  1. findHtml on a link matching "/talk/view/.*?"
  2. Return that object so we can get to the URL
  3. Make another request to get to that URL

viola, request chaining!

@priority high @due 11/18/2010