i am trying to get the link from \"a href\" attribute
You need to call GetAttribute() with actual attribute name. Replace:
GetAttribute()
lists1[0].GetAttribute("a href");
with:
lists1[0].GetAttribute("href");