[chromeos] Wait for initial page load after login

Login() automation call should wait for initial chrome to load at least one page (could be NTP). Successive automation calls (say url navigation) can then be reliably performed.

This ensures that when we collect screenshots after login in autotest, we get that of the state after login (currently it often shows the login spinner because it's too soon)

BUG=chromium-os:34102
TEST=login_LoginSuccess, desktopui_UrlFetch


Review URL: https://chromiumcodereview.appspot.com/10912142

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155926 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed