我需要从网页中得到一个div,女巫使用ajax生成它。类似于: Get_page->run_JScript_for_moment->take_snapshot->parse_html_for_div->save_to_sql,我尝试使用CasperJS,我不能以html的形式获得快照(但作为屏幕截图,我可以)
this.capture('gin.png'); // Return site after run JS
this.echo(this.getHTML()); // Return code before run JS