I want to use js to crawl a website, But the website use the ajax to paging the contents. At first, you can only crawl the first page content. the you must click a button(next page), the website use the ajax to update content of the webpage.
Qustion: I can use js to find the button, and click it. but how I know when the page has reloaded.and I can to get updated contents.
Thanks.