I'm a newbie in auto testing and got a problem.
Cannot get href in debug mode, try to check it on google.com, my code:
browser.get("https://google.com/")
def beta_check_href(self):
elem = self.find_elements_by_xpath("//a[@href]")
for el in elem:
print elem.get_attribute("href")
What am I doing wrong? Thx!