wkappbot-core
★★☆
CDP console.log forwarding to stderr via Runtime.consoleAPICalled
Runtime.consoleAPICalled is NOT subscribed in Core CdpClient. console.log in --eval-js JS silently drops to nowhere. Fix: subscribe to Runtime.consoleAPICalled in EvalAsyncCore and write to stderr as [CDP:CONSOLE:LOG] msg.
Steps
- ROOT CAUSE: CdpClient.Actions.cs EvalAsyncCo...
- PREREQUISITE: Runtime.enable IS called (CdpC...
- FIX LOCATION: CdpClient.Actions.cs alongside...
- FIX CODE: subscribe _eventHandlers["Runtime....
- EXPECTED RESULT: wkappbot a11y read GRAP#Doc...
- USE CASE: YouTube ad-skipper can inject setI...
- TESTING: after fix, confirm console.log/warn...