【问题标题】:How can I wait for a button to be visible?如何等待按钮可见?
【发布时间】:2023-03-09 23:01:01
【问题描述】:

我需要单击一个仅在验证电子邮件、电话和姓名字段后才可见的按钮。 我不想使用“等待”。 我也用了“VISIBILITYCHECK”(this.buttonOk = Selector('button',{ visibilityCheck: true }).withText('Ok');),但是没用。

Tela com os campos nome, email e telefone

【问题讨论】:

    标签: testing automation automated-tests e2e-testing testcafe


    【解决方案1】:

    您可以为此使用Selector Timeout

    【讨论】:

      猜你喜欢
      • 2021-12-07
      • 2020-05-20
      • 1970-01-01
      • 1970-01-01
      • 2022-01-22
      • 1970-01-01
      • 2012-06-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多