I can't get element by css selector in Selenium using Python so I can't click download. This is my code what is this wrong?
link = u''
mydriver = webdriver.Firefox()
try:
mydriver.get(link)
btn = mydriver.find_element_by_css_selector("//a[class='button neutral']")
print link
except Exception as e:
print "link: {0}, exception: {1}".format(link, repr(e))