J
Jaiprakash Singh
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)
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)