【发布时间】:2017-08-18 16:29:23
【问题描述】:
我正在尝试使用 Robot Framewrok 功能等待直到页面不包含,但无论我设置什么超时 - 它总是等待 15 秒。 使用功能 Page 不应该包含它更糟糕 - 30 秒。
例如
Wait Until Page Does Not Contain x 5s
当函数失败时,它会说:文本 x 没有在 5 秒内消失。 但需要 15 秒才能完成
我尝试过设置硒超时并写了这样的东西
Wait until page doesnt contain
[Arguments] ${text}
Wait Until Keyword Succeeds 2s 1s page should not contain ${text}
但总是比预期花费更长的时间
问题出在哪里?
【问题讨论】:
-
驱动的隐式等待是否设置为1s?或设置为0s
-
你的意思是设置硒超时方法吗?我尝试了多个值
标签: selenium wait robotframework