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?
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to