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");
页:
[1]