I am looking to automate the process of copying a link location on a webpage using Selenium. For example, if there is a link "add book" and I want to copy its URL without manually right-clicking, is it possible with Selenium 1?
Can we achieve this by locating the element with XPath or using JavaScript?
Thank you in advance for your help.