I want to use Watin’s WaitUntil method to wait until an element gets a certain CSS class (JavaScript adds the class dynamically). How do I do this?
var element = browser.Div("my-div");
element.WaitUntil(...); // What to do here??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try one of these:
Keep in mind, that element with
class="your_class_name other_class_name"will probably (I’m not 100% sure) not be found.