Selenium webdriver - implicit wait with chrome driver -


i want use implicit or explicit wait in code. not working chrome driver. special patch available work? same worked firefoxdriver.

my application supports chrome don't have choice use other browser. please me how can use - wait - load element or other solution available?

use explicit wait per below way :

 webelement element = (new webdriverwait(driver, 30))               .until(expectedconditions.elementtobeclickable(by.classname("progress_bg")));  element.click(); 

you can use id , xpath or other locator element. have used class in above per comment.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -