Something like that: https://github.com/miyakogi/pyppeteer/pull/227#issuecomment-498782123 Don't know if it's somehow possible 😄