How can I simulate the press of a button?

前端 未结 5 760
天命终不由人
天命终不由人 2021-01-18 15:25

I want to test some forms. Is there a way to simulate the press of an Ok (or Cancel) button so that the button is pressed and fires the event handlers that are associated wi

5条回答
提交回复
热议问题