Chickenfoot Utility Functions
From Chickenfoot Script Repository
Yes, you can call Java from Chickenfoot, so here's an example of opening a JFrame and adding a button and a label to it. This isn't very practical, but it's here just to show that it can be done.
A function, exactfind(), which returns whether a string is exactly found in a page or not. Also uses strip_tags().
This script grabs the largest image on a page, making it easy to grab things such as the logo from the Google home page.
Chickenfoot doesn't automatically switch to popup windows (yet). Here's a workaround.
Chickenfoot doesn't have a command to close alert or confirm windows. Here's a workaround.
Trigger scripts that trigger on a page load aren't as useful on AJAX web sites where the URL never changes. Here's a useful function that allows you to run some code every time the page's contents are changed, even though no page load occurs.
This script shows how chickenfoot can be used to load test a given web page.
This script shows how chickenfoot can be used to automate web site testing. It keeps track of the loading time for each step in the use case, and saves the HTML of each step to a file.