如何测试图像是否已在testcafe中充满负载
我需要创建一个助手来验证图像是否已在testcafe中充分加载,我对Testcafe非常新鲜。请帮助 谢谢
I need to create a helper to verify whether the image is fully loaded in testcafe, I'm very new to testcafe.Please help
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查完整://developer.mozilla.org/en-us/docs/web/api/htmlimageelement/naturalalwidth“ rel =“ nofollow noreferrer”> naturalwidth> naturalWidth 元素的属性。您可以使用 href =“ https://testcafe.io/documentation/402759/reference/test-api/selector/addcustomdomdomproperties#header” rel =“ nofollow noreferrer”>“ nofollow noreferrer”> selector selector自定义域。例如:
Check the complete and naturalWidth properties of the element. You can access them with the ClientFunction or Selector custom DOM properties. For example: