Cannot navigate with casperjs evaluate and __doPostBack function
When I try to navigate the pagination on sites with links where href is a __doPostBack function call, I never achieve the page change. I am not sure what I am missing, so after a few hours of messing around I decided to see if someone here can give me a clue. This is my code (uber-simplified to show the use case). var casper = require('casper').create({ verbose: true, logLevel: "debug" }); casper.start('http://www.gallito.com.uy/inmuebles/venta'); // here i simulate the click on a link in the pagination list casper.evaluate(function() { __doPostBack('RptPagerDos$ctl08$lnkPage2',''); }); casper