Load page into iframe
Tequila allow you to reuse any page you have made or generate, to get a page with empty HTML headers and with JS and CSS references (you need them)
Add to the task URL:
rrt=nh
nh = no headers (meaning you don't get the visual elements)
i.e.
1 myframe.src ='index.php?task=your-task&mode=your-mode&rrt=nh';