How to change the DOM and click using ABOT

2

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

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

How can I perform 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();
        }
    
asked by anonymous 01.12.2015 / 21:12

0 answers