|
Re: Workaround for verifyAlert and onload() event handler?: msg#00020web.selenium.user
Altin, Mattias wrote: In the Selenium reference under verifyAlert I found this: "NOTE: I haven't tried this myself, but I seem to recall someone getting around this by delaying the alert using window.setTimeout(), ie. instead of <body onload='alert("blah")'> ... you'd do something like <body onload='window.setTimeout("handleOnload()",0)'> <script> function handleOnload() { alert("blah"); } </script> ... -- cheers, MikeW http://www.dogbiscuit.org/mdub/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Workaround for verifyAlert and onload() event handler?: 00020, Altin, Mattias |
|---|---|
| Next by Date: | element locator for link pointing to a javascript: 00020, Paul Bennett |
| Previous by Thread: | Workaround for verifyAlert and onload() event handler?i: 00020, Altin, Mattias |
| Next by Thread: | element locator for link pointing to a javascript: 00020, Paul Bennett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |