spec: robustify sendInputEvent beforeEach hook (#17300)
spec: robustify sendInputEvent beforeEach hook (#17300)


the-ress/electron,seanchas116/electron,electron/electron,bpasero/electron,gerhardberger/electron,electron/electron,seanchas116/electron,electron/electron,bpasero/electron,bpasero/electron,electron/electron,seanchas116/electron,gerhardberger/electron,seanchas116/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,the-ress/electron,bpasero/electron,bpasero/electron,the-ress/electron,bpasero/electron,the-ress/electron,the-ress/electron,gerhardberger/electron,the-ress/electron,gerhardberger/electron,gerhardberger/electron,seanchas116/electron,bpasero/electron,electron/electron,the-ress/electron,seanchas116/electron,electron/electron