I know if we want to discontinue the loop when some thing found in the page like
if "page not found" in browser.page_source:
return
but how it would be if something not found in the page source then return...
for i.e. but this doesn't work
if "next page" not in browser.page_source:
return
please how to fix it..