A version that works even in the face of long-loading pages that aren't caught by selenium.  Uses external timeout.