playwright-python icon indicating copy to clipboard operation
playwright-python copied to clipboard

[Feature]: add page.coverage()

Open LeMoussel opened this issue 4 years ago • 4 comments

Feature request

With Node.js, we have, with the Chromium browser, page.coverage() for gathers information about parts of JavaScript and CSS that were used by the page (Coverage).

For Python, I didn't find any documentation about this feature. So I deduce that this feature does not exist for Python Playwright.

Feature request: Have Coverage for Playwright Python

LeMoussel avatar Nov 15 '21 17:11 LeMoussel

Do you know if there is any plan to start this in the next few months? It seems it would be extremely helpful for unlocking some key features for understanding test behavior.

eric-rizzi avatar Oct 18 '22 13:10 eric-rizzi

+1 a nice middle step would be to include some info on the docs page as this being not supported yet

ie on https://playwright.dev/docs/api/class-coverage clicking python from the language selector gives this generic 404 page https://playwright.dev/python/docs/api/class-coverage

which left me a bit confused as to if it was just a broken link / missing doc page or if the feature was not yet implemented

jackschu avatar Nov 03 '22 20:11 jackschu

Any update?

cha0wg avatar Jul 13 '23 09:07 cha0wg