So here is the markup: What I want to do it this (but instead of the Id, I want to use the classname. public HtmlElement IndexButton { get { return Page.Elements.Find("BtnIndex", TreatIdAs.Regex); } } ...