【发布时间】:2020-08-19 16:33:32
【问题描述】:
我有一个用黄瓜和柏树编写的测试用例。测试用例通过 cypress Test runner 成功运行,但在使用命令以无头模式运行时失败。
node_modules\.bin\cypress run --spec **/*.features
CypressError: Timed out retrying: `cy.click()` failed because this element is not visible:
问题:
-
此元素不可见错误的可能原因是什么?
-
如何在无头模式下处理等待?
【问题讨论】:
标签: cypress