2017年3月20日 星期一

Selenium - How to wait for a css attribute to change?

webdriver.wait().until(ExpectedConditions.presenceOfElementLocated(By.xpath("//*[@id='some_input'][contains(@style, 'display: block')]")));

from : http://stackoverflow.com/questions/21714977/how-to-wait-for-a-css-attribute-to-change

沒有留言:

wibiya widget