I have a problem:
Here is a code to click the link on the site in Firefox. It works. Clicks. But the same code in PhantomJS going to a page but not clicks. Please help solve the problem. thanks in advance
from selenium import webdriver
import time
browser=webdriver.PhantomJS()
browser.get('http://nnmclub.to')
time.sleep(10)
browser.find_element_by_xpath("//a[contains(@href,'www.marketgid.com')]").click()
time.sleep(10)
browser.quit()