Skip Menu |

This queue is for tickets about the Win32-IE-Mechanize CPAN distribution.

Report information
The Basics
Id: 15435
Status: open
Priority: 0/
Queue: Win32-IE-Mechanize

People
Owner: abeltje [...] cpan.org
Requestors: rbell01824 [...] earthlink.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: _wait_while_busy does not do what you would like it to do
Contrary to Microsoft documentation, IE's readystate DOES NOT accurately reflect the state of the browser regarding page load completion. It fails frequently and for a variety of reasons. Samie (http://samie.sourceforge.net/) that checks the event stream to insure that all the loads are complete. This will work most of the time (but not always). In principal there is NO bulletproff technique independent of the application using Mech, however, it is possible to use the Samie technique coupled with a brief timeout waiting for any new events. I'm willing to help if you would like.
[guest - Mon Oct 31 18:34:05 2005]: Show quoted text
> Contrary to Microsoft documentation, IE's readystate DOES NOT > accurately reflect the state of the browser regarding page load > completion. It fails frequently and for a variety of reasons. > Samie (http://samie.sourceforge.net/) that checks the event stream > to insure that all the loads are complete. This will work most of > the time (but not always). In principal there is NO bulletproff > technique independent of the application using Mech, however, it is > possible to use the Samie technique coupled with a brief timeout > waiting for any new events.
I have reimplemented the _wait_while_busy() logic to use BrowserEvents and put a development snapshot up on CPAN (0.009_17). Show quoted text
> I'm willing to help if you would like.
Please do! Testing that snapshot is a start and I'll consider any patch. Please let me know, so we can do more work on it or I close this ticket. HTH + Good luck, -- Abe.