查找JS是否完成执行
我是WebDriverio的新手。在我们的网站中,我有兴趣找到JS是否完成执行。
对于ex:有加载的file.js。此file.js触发API调用。 API呼叫通过响应返回。 file.js消耗此响应并修改DOM。
我想以编程方式检查JS启动API的整个过程,消耗响应并使用WebDriver IO修改DOM。
请帮助。
I am new to webdriverio. In our website, I'm interested to find the whether a JS is completed executing.
For ex: there is file.js which is loaded. This file.js fires an api call. The API call returns with a response. The file.js consume this response and modifies the DOM.
I want to check programmatically if this whole process of JS firing an API, consuming the response and modifying the DOM is completed using WebDriver IO.
Kindly help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论