lino-levan / astral

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

fix: incorrect event names in `waitForNetworkIdle` #62

Closed marvinhagemeister closed 1 month ago

marvinhagemeister commented 1 month 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