Selenium IDE: How do I get today's date?

前端 未结 5 870
情歌与酒
情歌与酒 2021-02-05 22:16

I\'m testing my web application using Selenium IDE. There are test cases in which I have to assert that today\'s date appears on the page. I cannot hard code today\'s date in th

5条回答
  •  佛祖请我去吃肉
    2021-02-05 23:12

    I am a bit confused about the answers here. From my side, what I wanted to do is to include the current date in an input text-area.

    Here is how I did it:

提交回复
热议问题