/// <summary> /// Clicks the settings button. /// </summary> /// <returns>The <see cref="CommandBarPage"/>.</returns> public CommandBarPage ClickSettingsButton() { CommandBar primaryCommandBar = this.WindowsApp.FindElement(this.primaryCommandBarQuery); primaryCommandBar.ClickSecondaryButton("settingsButton"); return(this); }