public static void SignOutUser(this AutomationRunner testRunner) { testRunner.ClickSignOut(); // Rather than waiting a fixed amount of time, we wait for the ReloadAll to complete before returning testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button")); }