How can I convert this date only string into a proper date for use with selenium?

后端 未结 0 1886
Happy的楠姐
Happy的楠姐 2020-11-22 00:35

First, this string works perfectly for automation in selenium:

dateofincident = self.dateEdit.date().toPyDate().strftime(\'%Y-%m-%d\')

相关标签:
回答
  • 消灭零回复
提交回复
热议问题