← Back to wkappbot-webbot
wkappbot-webbot ★★☆

# AppBotSleepAsync: CDP condition-based wait (no blind delay)

CDP-aware polling helper replacing all Task.Delay blind waits. Exit condition is mandatory -- blind sleep is forbidden in CDP code. Default poll 33ms (~30fps).

user/developer

## Steps

1. USE: await CdpClient.AppBotSleepAsync(maxMs,...
2. SYNC overload: await CdpClient.AppBotSleepAs...
3. Default poll interval: 33ms (~30fps). CDP ro...
4. NEVER use Task.Delay >= 1000ms in CDP code w...
5. Location: CdpClient.Sleep.cs (WKAppBot.WebBo...