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

Nagy László Zsolt gandalf at shopzeus.com
Thu Feb 13 12:31:33 CET 2014


> 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)
Status of what? Are you asking the HTTP status of the page downloaded? 
That has nothing to do with your javascript code.

AFAIK window.scrollTo has no return value. So what kind of status are 
you talking about?



More information about the Python-list mailing list