SetNativeDialongHandler of Testcafe

problem description

Hello, seniors!

recently I was playing testcafe, and running a test on my phone in the way of qr code, but it got stuck at a strange point.
is that when I set setNativeDialongHandler , the whole thing will get stuck, without spraying error , there will be no movement at all, and it will only get stuck on ios, and android will execute normally.

but cannot remove setNativeDialongHandler , because a confirm pops up when the button is pressed.
want to kneel for a solution

platform version in which the problem occurs

I have tried two iphone, both of which are ios11

.

related codes

I setNativeDialongHandler that"s what it says:

await t.setNativeDialogHandler(() => true)

I can"t see what the problem is.

Mar.31,2021

Hello, do you have the documents of testcafe? the documents on the official website are too messy, and the explanations are not detailed enough

.
Menu