in reply to Re^3: mechanize bug - is there a workaround?
in thread mechanize bug - is there a workaround?

almut,

I tried what you did, and I got the same result. You were right this defect has been fixed.

After some investigation, I realized that the web server was sending different html depending on the user agent. Without setting a user agent the html did not include __EVENTTARGET and __EVENTARGUMENT. So I set my user agent to windows, as follows:
$mech->agent_alias("Windows IE 6");
This fixed the problem. Thanks for setting me on the right track!

tia, rouble

Replies are listed 'Best First'.
Re^5: mechanize bug - is there a workaround?
by Anonymous Monk on Aug 20, 2008 at 19:44 UTC
    Hi can you share the complete code to workaround dopostback .NET method ? visuss at gmail Thanks