Tuesday

Selenium - How to give wait in Selenium

try{
//do what you want to do before sleeping
Thread.sleep(5000);//sleep for 5 sec
// Globals.selenium.wait();
//do what you want to do after sleeptig
}
catch(Exception ie){
//If this thread was intrrupted by nother thread
}

No comments:

Post a Comment