test: retry beforeunload tests up to 3 times (#21293)
test: retry beforeunload tests up to 3 times (#21293)


gerhardberger/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,seanchas116/electron,bpasero/electron,electron/electron,electron/electron,electron/electron,seanchas116/electron,bpasero/electron,electron/electron,electron/electron,electron/electron,seanchas116/electron,seanchas116/electron,electron/electron,bpasero/electron,gerhardberger/electron,bpasero/electron,bpasero/electron,bpasero/electron,seanchas116/electron