You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle DevTools page initialization and robust CDP fallbacks
- FrameManager: fall back to runtime-only mode when Page.enable fails
- CdpPage: catch Performance.enable/Log.enable failures for DevTools targets
- CdpBrowserContext: wrap PageAsync in SafePageAsync to handle restricted targets
- CdpPageTarget: cache AsPageAsync result to return same Page instance
- ChromeTargetManager: separate setAutoAttach/runIfWaitingForDebugger error handling
- ExecutionContext: omit contextId when ContextId==0 for DevTools contexts
- DevtoolsTests: use WaitForFunctionAsync for DevTools API availability check
- Skip TargetPageShouldReturnADevToolsPageIfCustomIsPageTargetIsProvided in Chrome 148+
Copy file name to clipboardExpand all lines: lib/PuppeteerSharp.Nunit/TestExpectations/TestExpectations.local.json
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,5 +138,12 @@
138
138
"platforms": ["linux", "win32"],
139
139
"parameters": ["chrome", "cdp"],
140
140
"expectations": ["SKIP"]
141
+
},
142
+
{
143
+
"comment": "Connect scenario with custom IsPageTarget fails to set up an execution context for the DevTools target session in Chrome 148+. Needs further investigation.",
144
+
"testIdPattern": "[devtools.spec] DevTools target.page() should return a DevTools page if custom isPageTarget is provided",
0 commit comments