mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
Adds logging comments to the doclint tests, and adds a new one with a bulleted list in a comment. Lists can only be used in comments where extra properties would be unexpected.
44 lines
971 B
Plaintext
44 lines
971 B
Plaintext
{
|
|
"classes": [
|
|
{
|
|
"name": "Foo",
|
|
"comment": "This is a class.",
|
|
"members": [
|
|
{
|
|
"name": "frame",
|
|
"type": {
|
|
"name": "[Frame]"
|
|
},
|
|
"kind": "event",
|
|
"comment": "This event is dispatched."
|
|
},
|
|
{
|
|
"name": "$",
|
|
"type": {
|
|
"name": "Promise<ElementHandle>"
|
|
},
|
|
"kind": "method",
|
|
"comment": "The method runs document.querySelector.",
|
|
"args": [
|
|
{
|
|
"name": "selector",
|
|
"type": {
|
|
"name": "string"
|
|
},
|
|
"kind": "property",
|
|
"comment": "A selector to query page for"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "url",
|
|
"type": {
|
|
"name": "string"
|
|
},
|
|
"kind": "property",
|
|
"comment": "Contains the URL of the request."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |