How to wait for ajax load before performing any activity in selenium webdriver? I have a form where i fill form fields through my script and click on a button and next form is opened and few fields get prepopulated from the last form i filled, i want to wait on that form so that the form gets filled and after that my next script runs ie until my ajax loads. I am using java.
I think Wait Until is used but i am not sure how to use this. Or if there is some other solution kindly suggest..