/// <summary> Perform mouse rights click on the TreeNode.</summary> /// <returns>New instance of the <see cref="ScPopupEl"/>.</returns> public ScPopupEl RightClick() { SetFocus(); Logger.Debug($"Right click on {Name}"); NodeTextElement.RightClick(); var popupElement = Driver.Wait(10, $"Right click over {Name}") .Until(ExpectedConditions.ElementIsVisible(By.CssSelector(".scPopup"))); return(new ScPopupEl(popupElement, Name)); }
/// <summary> Focuses this TreeNode by Click.</summary> /// <returns> /// <para>this</para> /// </returns> public ContentTreeNode SetFocus() { Logger.Debug($"Focus on {Name}"); NodeTextElement.Click(); return(this); }