puppeteer-sharp icon indicating copy to clipboard operation
puppeteer-sharp copied to clipboard

WaitForSelectorAsync Invalid timeout setting

Open 1783157448 opened this issue 3 months ago • 1 comments

my code:

var emailOrPhoneInput = await page.WaitForSelectorAsync("input[name='emailOrPhone']", new WaitForSelectorOptions { Timeout = 90000, Visible = true, });

error: Waiting for selector input[name='emailOrPhone'] failed: Timeout of 10000 ms exceeded

I set the timeout to 90 seconds, but in fact, it times out in 10 seconds. No matter what the timeout is set to, it will always time out in 10 seconds.

1783157448 avatar Aug 25 '25 10:08 1783157448