XPath Checker plugin

For my new job, one of the things I’ve had to ramp up on is XPath. Once you bend your head around the syntax, it can be pretty darn powerful. But it’s a chore to test a given XPath when you have to write it into your Selenium test, run it to get your dynamic AJAX-y results, and hope that it finds the correct element. After struggling with an XPath involving ‘preceding-sibling::input[1]‘, I went looking for a better way to write/test these and found the XPath Checker plugin (via here). My day improved dramatically. Now, if I had only remembered to have saved my timesheet before I restarted Firefox…

Tags: ,

Leave a Reply