Web data extraction using Chickenfoot

Chickenfoot is a firefox plugin and a very convenient non-visual tool for web data extraction. For the navigation in swoodoo.com, a meta search engine for flights, I used the Chickenfoot methods. The problem occured when I tried to locate a specific element in the DOM tree. The Chickenfoot method find() returns an unhandy wrapper of the HTML structure.
1 answer

Web data extraction with Chickenfoot and JavaScript

Given Chickenfoot as a JavaScript based Web Data Extraction tool, one can use JavaScript methods in the Chickenfoot script as well. For the given problem with the method find() it is useful to use the native JavaScript method document.evaluate() instead for retrieving data and going through the DOM tree.