Clear date input fails on chromewebdriver

前端 未结 5 1679
太阳男子
太阳男子 2021-01-01 22:50

I ran into a problem while switching from firefoxdriver to chromedriver with selenium, it was working fine in FF but now when I try to clear a date input field I have this e

5条回答
  •  迷失自我
    2021-01-01 23:35

    As a workaround you can select the webElement representing the input field and perform a

    webElement.SendKeys(Keys.Delete);

    to clear the field.

提交回复
热议问题