To test your selector, you can use the developer tools of your browser.
In the console, you can type the element selector:
$$("selector")
For instance in Chrome:
Firebug:
CMD/Ctrl+F in the elements pane.