在WatiN我怎么能等到回发完成.
例如:
// Postback response modifies update panel elsewhere on page browser.Text("id").TypeText("asd"); // WatiN doesn't wait until postback is completed (what code should I replace it with?). browser.WaitUntilComplete();
解决方法
WaitUntilComplete无法识别ajax调用.请参阅此文章(搜索WaitForAsyncPostBackToComplete),了解如何注入一些代码以使其工作:
WatiN,Ajax and some Extension Methods
HTH,吉荣
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。