How to select the last blcok element in a repeated html in webdriver : This is the html code. I want to select export csv of the last block. which is present in a drop down tringle mark whose xpath is

  ".//*[@id='table-view-views']/div/div[1]/ul/li[12]/a/span"

Highlighted mark having same **div** and **ul** tags but diffrent **li** tag. so I want to select last block element through csspath.

Can anybody help.

[![enter image description here][1]][1]


  [1]: http://i.stack.imgur.com/oFAZC.png