Skip to content

Commit

Permalink
fix(docs): page.coverage type (#1189)
Browse files Browse the repository at this point in the history
`page.coverage` was marked as an unhelpful any.
  • Loading branch information
JoelEinbinder authored Mar 3, 2020
1 parent 42aa70f commit a3ed301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ Get the browser context that the page belongs to.

#### page.coverage

- returns: <?[any]>
- returns: <?[ChromiumCoverage]>

Browser-specific Coverage implementation, only available for Chromium atm. See [ChromiumCoverage](#class-chromiumcoverage) for more details.

Expand Down Expand Up @@ -3877,9 +3877,9 @@ const { chromium } = require('playwright');
[ChildProcess]: https://nodejs.org/api/child_process.html "ChildProcess"
[ChromiumBrowser]: #class-chromiumbrowser "ChromiumBrowser"
[ChromiumBrowserContext]: #class-chromiumbrowsercontext "ChromiumBrowserContext"
[ChromiumCoverage]: #class-chromiumcoverage "ChromiumCoverage"
[ChromiumSession]: #class-chromiumsession "ChromiumSession"
[ConsoleMessage]: #class-consolemessage "ConsoleMessage"
[Coverage]: #class-coverage "Coverage"
[Dialog]: #class-dialog "Dialog"
[ElementHandle]: #class-elementhandle "ElementHandle"
[Element]: https://developer.mozilla.org/en-US/docs/Web/API/element "Element"
Expand Down

0 comments on commit a3ed301

Please sign in to comment.