[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

> 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?