My node project is an esm typescript module.
I am trying to catch a timeout error on the page but I unable to find the import of TimeoutError object from puppeteer-extra.
I tried to import if from the puppeteer and puppeteer-core packages but it doesn't recognized as the same object.
Describe the bug
My node project is an esm typescript module. I am trying to catch a timeout error on the page but I unable to find the import of
TimeoutError
object from puppeteer-extra. I tried to import if from the puppeteer and puppeteer-core packages but it doesn't recognized as the same object.Code Snippet
This is the type of imports that I tried so far but nothing worked:
This is my current work around in the catch
Versions