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.
在 selenium 中处理动态页面时,我想在不跳过条件的情况下通过测试(例如 if element not found case)。如何找到元素?
使用显式等待直到找不到元素,
WebDriverWait.until(condition-that-finds-the-element)
更多信息点击这里,希望它对你有用。