【问题标题】:Selenium IDE type="date" field won't typeSelenium IDE type="date" 字段不会输入
【发布时间】:2018-11-09 00:43:03
【问题描述】:

我正在使用 Seleniums IDE 为我们的网络扫描环境格式化测试。

在第一页,有两个输入字段,一个用于开始日期,一个用于结束日期;

<input class="form-control" name="start_date" id="start-date" style="height:49px" value="2018-05-30" min="2018-05-30" max="2018-06-29" type="date">

由于某种原因,没有命令会在此字段中键入、sendkeys、type、editcontent。他们都没有。是否有某种方式我必须格式化 IDE 以使其影响该字段?

【问题讨论】:

    标签: selenium-ide


    【解决方案1】:

    看看这个,今天在 Chrome 中使用 Selenium 3.5.8,我可以:

    type || id=start-date || YYYY-MM-DD
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-06-11
      • 2014-02-13
      • 1970-01-01
      • 1970-01-01
      • 2017-05-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多