Generate xpath expression hassle free with WYSIWYG selection.
XPal, the xpath generator, generates xpath expression from simply inspecting and clicking elements in the web page. Then you could choose and verify the generated expressioins.
on Chrome Web Store xpath generator
on Firefox Plugins, comming soon
There is a blog post on how is xpath generator implemented in Chinese.