I'm testing some Ajax-y Wicket pages with Selenium. One challenge I'm having is finding a good expression to use in Selenium's waitForCondition. Right now I wait for the results of the Ajax call, e.g. an appropriate element appearing, but it's sometimes difficult to get this right, e.g. if a component is being replaced.
I think an ideal approach would be to hook into Wicket's Ajax channels and wait for them to be empty before proceeding. I've looked into wicket-ajax.js and it looks like I should be able to loop through Wicket.channelManager.channels and check the busy slot on each. Has anyone else tried this? Does it sound like a good approach? Would it be a good idea for wicket-ajax.js to provide a method for checking this? jk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]