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: don't force DevTools tab target to Type=Other; sync TargetManager test
With the previous commit's filter, tab targets auto-attach. The DevTools
tab target's URL matches isDevToolsPageTarget so we wrap it as a
CdpDevToolsTarget — and that class hard-overrode Type to TargetType.Other,
making Targets()/PagesAsync() treat the tab as a page, then try to send
Page.enable on a tab session. Removing the override matches upstream
(DevToolsTarget extends PageTarget with no type override).
ShouldHandleTargets was written for the pre-filter world where tabs
weren't attached. Synced it to upstream's version, which accounts for the
tab/page pair on each new page.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments