onchange event does not get fired on selenium type command

前端 未结 8 2124
予麋鹿
予麋鹿 2020-12-17 21:47

I am typing some value, on change do a total. But somehow, this event is not getting fired with selenium type command.

I also tried typeKey and typeAt ..But no succe

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-17 22:08

    If you're using Selenium 1.x, there is a fireEvent command that you can use to manually trigger the onChange event after typing in the value. Maybe that would solve your problem?

提交回复
热议问题