Bug 836929 - Fix integration tests switchToFrame call