摘要: Sometimes, you might need to wait for an element to disappear from your UI before proceeding with your test setup or making your assertion. In this le 阅读全文
posted @ 2024-05-07 15:05 Zhentiw 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Querying is difficult! Even if we follow the guiding principles and always start from the queries accessible to everyone, we are bound to get stuck so 阅读全文
posted @ 2024-05-07 14:52 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Given how web pages are built nowadays, you might find yourself with multiple instances of the same element. To avoid querying for a list of elements 阅读全文
posted @ 2024-05-07 14:48 Zhentiw 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Sync api: getBy* queryBy* Async api: findBy* For sync api, when to use which? queryBy*: when the element is not always shown on screen getBy*: when th 阅读全文
posted @ 2024-05-07 14:32 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑