当我使用Selenium在我的内部服务器上打开网站时,当我手动尝试时,所有链接都变得无法点击。复选框和下拉列表仍然有效。是什么造成的?该网站使用Javascript和CSS以及HTML
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
#ask for credentials
email = raw_input("Username: ") #ask for username
pw = raw_input("Password: ") #ask for password
driver = webdriver.Ie("C:\\IEDriverServer.exe")
driver.set_window_size(1024, 768)
driver.get('someurl.com')
#fill in username
username = driver.find_element_by_id('loginForm:name')
username.send_keys(email)
#fill in password
password = driver.find_element_by_id('loginForm:password')
password.send_keys(pw)
#click the login button
loginbutton = driver.find_element_by_name('loginForm:name')
loginbutton.send_keys(Keys.ENTER)