querry to get status code in selinium webdriver , unable to find it , requesting to please help me

Jaiprakash Singh jaiprakash at wisepromo.com
Thu Feb 13 12:21:45 CET 2014


hello all,

          i am searching how to get status code in selinium (with python), but unable to find it . can anyone help me in this matter

actually my aim is to scroll a page and after each scroll i want to find the status so that on bad status i can exit my code.

here ismy code in python

  for i in range(0,60):
        driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
        # i want status code here"
        time.sleep(1)



More information about the Python-list mailing list