Hello,I'm trying to do web scraping in a page that requires validation, that is, I have to add some data to a form, click on a button and scrap the page loaded after that.
I don't know how to fill the fields and to click with the extension.
Hi Julio,
You have two methods in the extension to scrape pages that have forms, either an HTML form or ASPX webform. Each method receives a list of inputs as a parameter, each of which you will have to provide the name (of the input) and the value you want the input to have.
Hi André!
The exact sequence I should make is:
So, how I make click on a button of scrapped page and then how I get the page loaded after that?
Thx again,
Julio
If the first button only navigates to the second page you should be able to get that URL and use it. I don't think the library has the ability to click on buttons.
Sorry, I can't navigate directly to second page, because link en firts is dinamically generated; besides, second page needs cookie and session info generated in first, so I need simulate navigate to the first, and after that, make click on a button to go to the second.