机器人框架元素可见性

Robot Framework Element Visibility

对于关键字:Robot Framework 中的Element Should Be Visible,它写的是它给出了逻辑可见性而不是光学可见性。那是什么意思?我不明白! 感谢您的帮助!

这意味着关键字通过检查 DOM、通过检查指示或可能指示可见性的某些 HTML 属性来决定。

关键字的文档进一步说:

For example, an element that carries display:none is not logically visible, so using this keyword on that element would fail.