http://stackoverflow.com/questions/11614635/converting-a-locator-into-xpath-in-capybara/11634883#11634883