title: Can I get link location through selenium?
body: <p>I have a link on the webpage. I want to right click and copy the link location is it possible through selenium 1?
   For example I have a webpage opened and it has a link "add book" and it manually if i right click and do copy link location then it points to <a href="http://webserver/webapps/books/addbook.jsp?book_id=44_1&amp;type=reference&amp;promo=none" rel="noreferrer">http://webserver/webapps/books/addbook.jsp?book_id=44_1&amp;type=reference&amp;promo=none</a> </p>
  
  <p>Is there a way to find out to copy the link by giving an XPath of the text :"add book" ? Or using javascript?</p>
  
  <p>Thanks in advance.</p>