HI

9 views
Skip to first unread message

Girish pattana

unread,
Feb 16, 2011, 5:07:24 AM2/16/11
to indian-seleni...@googlegroups.com
Can anyone explain me how to use the following for ajax:

wait_for_condition("selenium.browserbot.getCurrentWindow().Ajax.activeRequestCount == 0",timeout)

I tried it , it's showing me error, browserbot undefined.

Thanks,
 -Girish

Manish Chakravarty

unread,
Feb 17, 2011, 12:42:47 AM2/17/11
to indian-seleni...@googlegroups.com
Hi Giri,

Instead of this approach, I would suggest you "wrap" the waitForCondition API to do exactly what you need.

Thanks,
Manish

Girish pattana

unread,
Feb 17, 2011, 2:05:11 AM2/17/11
to indian-seleni...@googlegroups.com
Hey Manish,
                  Can you please provide me with an example if possible.

Thanks,
 -Girish
     

--
You received this message because you are subscribed to the Google Groups "Indian Selenium Users Group" group.
To post to this group, send email to indian-seleni...@googlegroups.com.
To unsubscribe from this group, send email to indian-selenium-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/indian-selenium-users-group?hl=en.

Manish Chakravarty

unread,
Feb 17, 2011, 9:42:09 AM2/17/11
to indian-seleni...@googlegroups.com, Girish pattana
Follow http://wiki.openqa.org/display/SIDE/Writing+extensions
--
Best,
Manish Chakravarty

Reply all
Reply to author
Forward
0 new messages