I have a program that creates a new google alert using HTMLdocuments in C#. This was workign perfectly but Google have recently changed their website. I've changed the code to try and match the new website, it no longer crashes but it doesn't actually create the alert in google.
The code is the following;
webBrowserControl.Navigate("http://www.google.com/alerts");
HtmlDocument createAlertPage = (HtmlDocument)webBrowserControl.Document;
var queryBox = createAlertPage.GetElementById("query_div");
queryBox.SetAttribute("value", _newAlertSearchString);
HtmlElement createButton = (HtmlElement)createAlertPage.GetElementById("create_alert");
createButton.InvokeMember("click");
Can anyone see where I have went wrong?
Thanks all.