How to get url from 'link' element in Selenium IDE
Although this question was originally asked for the IDE, I just came here through Google searching for the same answer for Python.
The one above gives
AttributeError: 'WebElement' object has no attribute 'getAttribute'
because for Python it is
driver.find_element(By.xxx).get_attribute('href')
Yes, you can simply use storeAttribute.
I could be more explicit if you'd say whether you're using Selenese or some other language.