G
Glen Holcomb
I'm needing to monitor a web application for periodic outages and log the
duration.
I originally tried this with SafariWatir as the login is javascript so I
can't use Mechanize. However Watir seems to give up if the page takes
longer than 10 seconds to load, normally I would just catch this error and
retry until successful. However after running for a little while the
browser seems to hang up, I can reach the app from another browser. Plus
the documentation for SafariWatir seems to be non-existant.
Can anyone think of a better way to do this? Or point me to some
SafariWatir documentation? What ever I use needs to be able to handle
Javascript and cookies.
--=20
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can=92t hear a word you=92re saying."
-Greg Graffin (Bad Religion)
duration.
I originally tried this with SafariWatir as the login is javascript so I
can't use Mechanize. However Watir seems to give up if the page takes
longer than 10 seconds to load, normally I would just catch this error and
retry until successful. However after running for a little while the
browser seems to hang up, I can reach the app from another browser. Plus
the documentation for SafariWatir seems to be non-existant.
Can anyone think of a better way to do this? Or point me to some
SafariWatir documentation? What ever I use needs to be able to handle
Javascript and cookies.
--=20
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can=92t hear a word you=92re saying."
-Greg Graffin (Bad Religion)