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: fallback to JS navigation when CDP Page.navigate fails
Some SPAs (X/Twitter) detect CDP Page.navigate and serve 'JavaScript
not available' error pages. Added _retryWithJsNavIfBroken() that
detects these specific anti-bot error pages and retries via JS
window.location.href, triggering the SPA router instead.
Detection is strict (only on definitive error text like 'JavaScript
is not available') to avoid false positives on slow-loading pages.
Also skip redundant Page.navigate when the tab is already on the
exact target URL.
0 commit comments