????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????selenium???firefox webdriver??IE webdriver?????ready to use?????????????????Chrome????в????????????Chrome webdriver??Chrome webdriver????Chromium?????????????????????????Firefox driver???IE driver???Щ???????????????????Firefox????????????е????????????chrome???????Щ???????????
????1. WebDriverWait??????
??????????????????????????????ajax???????????????????????????в????????????????????????????????????????????WebDriverWait???driver??????????????????????????????????????????????Chrome?У??????????????????????á?
????2.?Щ??????
?????????????????????Chrome?μ????????????????????????о???????Firefox?μ?????????????????????????????????????????????????Firefox????????????е??????Chrome????????????????????Щ????????

 

selenium.common.exceptions.WebDriverException: Message: u'unknown error: Element is not clickable at point
selenium.common.exceptions.InvalidElementStateException: Message: u'invalid element state
selenium.common.exceptions.ElementNotVisibleException: Message: u'element not visible

????????????????????????radio button????????????????????????????????????????element???????????????????????????????????????????????????????????????????????????????????????????????????????????????????radio button?????????????????????????
????????????????????Chrome????????????WebDriverWait???????????????????????????????“???”????webdriver????????????slow down??????????????????driver??????????????????????????ɡ?
????import time
????#some test code
????time.sleep(2)
????#continue test code
????time.sleep(2)???driver??????????????????к??????????
????3.???????????Χ??????????
?????????????Firefox webdriver????????????????????????????????????????????в???????????????????????????????????Χ???Firefox webdriver?????????????????????????????????????????????????в?????????driver????????????scroll down or up???????
??????????Chrome webdriver?У????????????????????????Χ?????????Element is not clickable at point?????????????????WebDriverWait??????????????????????Timeout????
?????????????Chrome wbedriver??????????????С?????????????????????????????е????????????????????????????????????Χ??????????????в????????????????????
????driver.execute_script("window.scrollBy(0??200)"??"")  #???1???200px
????driver.execute_script("window.scrollBy(0??document.body.scrollHeight)"??"")  #???1??????????