puppeteer/utils/doclint/check_public_api/test/md-builder-common/doc.md
Andrey Lushnikov 6c9a99477b chore(doclint): support classes inheritance (#935)
This patch:
- gives meaningful names to doclint tests
- supports classes inheritance in documentation linter. When class A
  extends class B, all methods of class B are added to documentation of
  class A.

This is a prerequisite for Object Handles: ElementHandle will be
extending ObjectHandle.

References #382
2017-10-02 13:38:44 -07:00

311 B

class: Foo

This is a class.

event: 'frame'

  • <[Frame]>

This event is dispatched.

foo.$(selector)

  • selector <[string]> A selector to query page for
  • returns: <[Promise]<[ElementHandle]>>

The method runs document.querySelector.

foo.url

  • <[string]>

Contains the URL of the request.