Sunday 22 November 2009

XPath Checker should have been blogged

Some of my colleagues are working “offsite” at the moment which gives us an excuse to have a working lunch in town.  We have found a particularly good burger joint.

Having finished our lunch, the discussion turned to parsing html files to get betting odds – as it does.  My colleague mentioned he had spent a few hours working out some complex XPath expressions.

Whilst creating Selenium test suites one of our testers came across XPath Checker for Firefox.  This tool will adds an option on the context (right mouse button) menu of Firefox to display the XPath of the element.

Why isn’t that on your blog – he asked.  Would have saved me hours!