public void ThenIShouldLoginToGmailAccount() { Utils.SwitchToWindow(driver => driver.Url.Contains("mail.google.com")); Thread.Sleep(3000); Assert.IsTrue(emailInbox.IsInbox()); }