Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AssertElementNotVisible()有时,在相关元素可见之前执行诸如循环之类的操作很有用。不过takeScreenshot()事件比较慢,每次测试失败直到成功,都会截图。这会减慢一切。有没有办法禁用测试失败时截取的屏幕截图?
AssertElementNotVisible()
takeScreenshot()