Unable to read text from textbox using gettext() of selenium webdriver?

前端 未结 4 736
醉酒成梦
醉酒成梦 2020-12-16 15:37

I can\'t read dates from ajax calendar control after date selection

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx

I don

4条回答
  •  [愿得一人]
    2020-12-16 16:16

    In this case you should invoke getAttribute("value").

    I believe getText() only returns the inner text of the element, not the inputted value.

提交回复
热议问题