Selenium and Python can't click href="javascript:void(0);" with .click()
<p>I have been stuck on trying to click the href="javascript:void(0);" on a page.</p>

<p>My problem is that I am not able to select this using selenium, and my end goal is to click on one. The page is fully loaded, and this is what all the links on the page have as the href.</p>

<p>my code is this:</p>

<pre><code>a = soup.find_all('a')
for names in a:
    try:
        print (names['href'])
        if names['href'] == "javascript:void(0);":
            print "IM IN HUR"
            names.click()
            break
    except:
        continue
</code></pre>

<p>But the "name.click()" statement never works.I have not found any way to click on javascript:void(0). Any help would be much appreciated.</p>