Status of what? Are you asking the HTTP status of the page downloaded? That has nothing to do with your javascript code.here ismy code in pythonfor i in range(0,60): driver.execute_script("window.scrollTo(0, document.body.scrollHeight);") # i want status code here" time.sleep(1)
AFAIK window.scrollTo has no return value. So what kind of status are you talking about?
-- https://mail.python.org/mailman/listinfo/python-list