//Function applicable to particular Websites // To click HTML Div based on single property public void clickHTMLDivOneProp(string strControl) { Keywords KeyFound = reader.FindControlinList(strControl); BrowserWindow _browser = new BrowserWindow(); HtmlDiv _htmlDiv = new HtmlDiv(_browser); _htmlDiv.SearchProperties.Add(KeyFound.PropertyName1, KeyFound.PropertyValue1); _htmlDiv.DrawHighlight(); Rectangle rec = _htmlDiv.BoundingRectangle; Mouse.Click(new Point(rec.X + rec.Width / 2, rec.Y + rec.Height / 2)); }