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
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
沒有留言:
張貼留言