Wait for homepage navigation
Clean up sed command
Wait for div.flash-notice