We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21a7d44 commit a59cd02Copy full SHA for a59cd02
lib/PuppeteerSharp/WaitTask.cs
@@ -228,6 +228,15 @@ private Exception GetBadException(Exception exception)
228
return null;
229
}
230
231
+ // This can happen if the execution context changes between creating the poller
232
+ // and calling start() on it. The poller handle becomes stale before initialization
233
+ // completes. This is a race condition in BiDi protocol when navigations occur.
234
+ // This is not upstream.
235
+ if (exception.Message.Contains("Polling never started"))
236
+ {
237
+ return null;
238
+ }
239
+
240
return exception;
241
242
0 commit comments