在 robit 框架中,我正在基于文本单击按钮,但我还想添加 ID,因为页面有多个具有相同文本的按钮
path="//button[text()=open]
这里我也想添加id 该怎么办 ? 尝试跟随但没有成功
path="//button[text()=open, id=23] path="//button[text()=open, @id=23]
path="//button[@id='23'][text()='open']"