How to get the browser status?

How to get the browser status?

Using Appium for Chrome/Safari testing on real device, after enter logging ID and pwd, I want to know how to get to know the page is loaded completed.
Thanks!