Saturday, 4 May 2019

SE - 35 - How to check that bottom of page has reached ?


In selenium we can check that we have reached the bottom of page by using the javascript commands :
br.execute_script("if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight) 

return true; 
} else 

return false;
}")

No comments:

Post a Comment