Fixing page load completion detection in WebUserContext