The Html code of my click page is :
Are you waiting for the page to load first? You should bind a function in your code to wait for the page to load, them click the button:
static void form1_Load() {
// ...
webBrowser1.onDocumentReady += webBrowser_DocumentReady;
}
static void webBrowser1_DocumentReady() {
webBrowser1.Document.GetElementById("publishButton-ns").InvokeMember("Click");
}