How to change the DOM and click using ABOT

Asked

Viewed 39 times

2

How can I capture the return of a button request submit using Abot?

With the code below I can search through the árvore DOM, modify the values of my inputs and capture the element that performs the form Ubmit (or the form itself). However, I cannot proceed and make another request to evaluate your return.

How can I accomplish this process?

        void crawler_ProcessPageCrawlCompleted(object sender, PageCrawlCompletedArgs e)
        {
            CrawledPage crawledPage = e.CrawledPage;

            var txtFoo = crawledPage.CsQueryDocument["#someId"].First();
            txtFoo.Text("Some text");

            var btnSubmit = crawledPage.CsQueryDocument["#btnSubmit"].First();
        }
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.