public void ClickPrimaryButtonWithKey(SplitButton splitButton, string key) { Log.Comment("Click primary button area with %s key", key); splitButton.SendKeys("{" + key + "}"); Wait.ForIdle(); }