Debugging XPath and CSS locators with Selenium IDE


On the robotframework-users mailing list was a question about how radio buttons can be properly handled with the SeleniumLibrary. There was apparently a problem somewhere in the generated xpath expression, and the user found it difficult to debug where things went wrong.

Since I failed to explain to the user in a private e-mail conversation how to debug the situation with the selenium IDE, I made a short screencast. At the end, I had to briefly pause the cast, since I was getting close to the 5:00 restriction, but I hope you’ll catch everything.

You’ll find the Screencast on

Update: The screencast was once embedded to this page, but JING/Techsmith apprently don’t support that any longer.


Andreas Ebbert-Karroum

Andreas Ebbert-Karroum

Share on FacebookGoogle+Share on LinkedInTweet about this on TwitterShare on RedditDigg thisShare on StumbleUpon


  • Thanks, this was short but helpful. I was hoping that I could use Selenium IDE as an interactive debugging tool and you showed me how to do it.

    • Andreas Ebbert-Karroum

      Hi Scott,

      thanks for taking the time to let me know that this screencast helped you :) Ar you using Selenium on its own or with another tool (like Robot Framework or Fitnesse) to drive Selenium?



Your email address will not be published. Required fields are marked *