lino-levan / astral

A high-level puppeteer/playwright-like library for Deno
https://jsr.io/@astral/astral
MIT License
248 stars 17 forks source link

fix: incorrect event names in `waitForNetworkIdle` #62

Closed marvinhagemeister closed 5 months ago

marvinhagemeister commented 5 months ago

Looks like a typo sneaked into the event names. This meant that we were never removing the event listeners as the event names didn't match which caused timers to leak.

See https://chromedevtools.github.io/devtools-protocol/tot/Network/#event-requestWillBeSent