`

selenium.waitForCondition()的使用

阅读更多
1.selenium.waitForCondition(script, timeoutInMilliseconds);
script为javascript代码,后面为timeout的时间
selenium.waitForCondition("selenium.browserbot.getCurrentWindow().***********", timeoutInMilliseconds);


2.selenium.waitForCondition(seleniumCommand, timeout)
seleniumCommand可以是Selenium.isTextPresent("Id")或者Selenium.isElementPresent("identifier");
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics