What fixes Puppeteer not waiting for all targets when connecting?

Puppeteer

Fixes Puppeteer not waiting for all targets when connecting by only awaiting child targets for tab targets.

  • When connecting, only tab targets are expected to have a child target attached, avoiding waiting for all targets.
  • iframe subtargets may not be fully initialized on connect, but this is generally fine.