/// <summary> /// This PageObjectNode should or does contain the given UserAction if they share the /// same page's name. /// </summary> /// <param name="userAction"> /// A UserAction to check containment. /// </param> /// <returns> /// True if the page should or does contain the action. /// </returns> public override bool Contains(UserAction userAction) { return(Name == userAction.Page); }