Chris Withers wrote:
Robin Becker wrote:
prepareForAjax||
click|myajaxthingy|
waitForAjax|1000|wait on the ajax and then some
Are prepareForAjax and waitForAjax things you've added or that are now
part of Selenium?
If the former, could they become the latter? ;-)
Chris
I added these myself, but they currently depend on our wrapper for
xmlhttprequest ie usage of the async ajax carries out registration in
the selenium framework and the ajax completion informs selenium. I would
be glad to post a patch, but I suppose it would only be of use as an
example.
As I said previously I suspect the proper way for this to go is for the
target page to have a wrapped api for xmlhttprequest. If that were the
case then we'd know about all async ajax things at any time and would
probably only need the waitForAjax command.
--
Robin Becker
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users