chore(docs): improve doc links and supported versions

This commit is contained in:
TASNEEM KOUSHAR 2021-08-17 14:37:23 +05:30 committed by GitHub
parent 4593413f7d
commit 90163ef90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 576 additions and 112 deletions

View File

@ -1115,136 +1115,600 @@ module.exports = {
}, },
], ],
"ExecutionContext": [ "ExecutionContext": [
'puppeteer.executioncontext', {
'puppeteer.executioncontext.evaluate', type: 'doc',
'puppeteer.executioncontext.evaluatehandle', id: 'puppeteer.executioncontext',
'puppeteer.executioncontext.frame', label: 'executionContext',
'puppeteer.executioncontext.queryobjects', },
{
Methods: [
{
type: 'doc',
id: 'puppeteer.executioncontext.evaluate',
label: 'evaluate',
},
{
type: 'doc',
id: 'puppeteer.executioncontext.evaluatehandle',
label: 'evaluateHandle',
},
{
type: 'doc',
id: 'puppeteer.executioncontext.frame',
label: 'frame',
},
{
type: 'doc',
id: 'puppeteer.executioncontext.queryobjects',
label: 'queryobjects',
},
]
},
], ],
"JSHandle": [ "JSHandle": [
'puppeteer.jshandle', {
'puppeteer.jshandle.aselement', type: 'doc',
'puppeteer.jshandle.dispose', id: 'puppeteer.jshandle',
'puppeteer.jshandle.evaluate', label: 'JSHandle',
'puppeteer.jshandle.evaluatehandle', },
'puppeteer.jshandle.executioncontext', {
'puppeteer.jshandle.getproperties', Methods: [
'puppeteer.jshandle.getproperty', {
'puppeteer.jshandle.jsonvalue', type: 'doc',
id: 'puppeteer.jshandle.aselement',
label: 'asElement',
},
{
type: 'doc',
id: 'puppeteer.jshandle.dispose',
label: 'dispose',
},
{
type: 'doc',
id: 'puppeteer.jshandle.evaluate',
label: 'evaluate',
},
{
type: 'doc',
id: 'puppeteer.jshandle.evaluatehandle',
label: 'evaluateHandle',
},
{
type: 'doc',
id: 'puppeteer.jshandle.executioncontext',
label: 'executionContext',
},
{
type: 'doc',
id: 'puppeteer.jshandle.getproperties',
label: 'getProperties',
},
{
type: 'doc',
id: 'puppeteer.jshandle.getproperty',
label: 'getProperty',
},
{
type: 'doc',
id: 'puppeteer.jshandle.jsonvalue',
label: 'JSONValue',
},
]
},
], ],
"ElementHandle": [ "ElementHandle": [
'puppeteer.elementhandle', {
'puppeteer.elementhandle._', type: 'doc',
'puppeteer.elementhandle.__', id: 'puppeteer.elementhandle',
'puppeteer.elementhandle.__eval', label: 'elementHandle',
'puppeteer.elementhandle._eval', },
'puppeteer.elementhandle._x', {
'puppeteer.elementhandle.aselement', Methods: [
'puppeteer.elementhandle.boundingbox', {
'puppeteer.elementhandle.boxmodel', type: 'doc',
'puppeteer.elementhandle.click', id: 'puppeteer.elementhandle._',
'puppeteer.elementhandle.contentframe', label: '$',
'puppeteer.elementhandle.focus', },
'puppeteer.elementhandle.hover', {
'puppeteer.elementhandle.clickablepoint', type: 'doc',
'puppeteer.elementhandle.drag', id: 'puppeteer.elementhandle.__',
'puppeteer.elementhandle.draganddrop', label: '$$',
'puppeteer.elementhandle.dragenter', },
'puppeteer.elementhandle.dragover', {
'puppeteer.elementhandle.drop', type: 'doc',
'puppeteer.elementhandle.isintersectingviewport', id: 'puppeteer.elementhandle.__eval',
'puppeteer.elementhandle.press', label: '$$eval',
'puppeteer.elementhandle.screenshot', },
'puppeteer.elementhandle.select', {
'puppeteer.elementhandle.tap', type: 'doc',
'puppeteer.elementhandle.type', id: 'puppeteer.elementhandle._eval',
'puppeteer.elementhandle.uploadfile', label: '$eval',
},
{
type: 'doc',
id: 'puppeteer.elementhandle._x',
label: '$x',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.aselement',
label: 'asElement',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.boundingbox',
label: 'boundingBox',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.boxmodel',
label: 'boxModel',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.click',
label: 'click',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.contentframe',
label: 'contentFrame',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.focus',
label: 'focus',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.hover',
label: 'hover',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.clickablepoint',
label: 'clickablePoint',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.drag',
label: 'drag',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.draganddrop',
label: 'dragAndDrop',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.dragenter',
label: 'dragEnter',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.dragover',
label: 'dragOver',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.drop',
label: 'drop',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.isintersectingviewport',
label: 'isIntersectingViewPort',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.press',
label: 'press',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.screenshot',
label: 'screenshot',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.select',
label: 'select',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.tap',
label: 'tap',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.type',
label: 'type',
},
{
type: 'doc',
id: 'puppeteer.elementhandle.uploadfile',
label: 'uploadFile',
},
]
},
], ],
"HTTPRequest": [ "HTTPRequest": [
'puppeteer.httprequest', {
'puppeteer.httprequest.abort', type: 'doc',
'puppeteer.httprequest.aborterrorreason', id: 'puppeteer.httprequest',
'puppeteer.httprequest.continue', label: 'httpRequest',
'puppeteer.httprequest.continuerequestoverrides', },
'puppeteer.httprequest.enqueueinterceptaction', {
'puppeteer.httprequest.failure', Methods: [
'puppeteer.httprequest.finalizeinterceptions', {
'puppeteer.httprequest.frame', type: 'doc',
'puppeteer.httprequest.headers', id: 'puppeteer.httprequest.abort',
'puppeteer.httprequest.isnavigationrequest', label: 'abort',
'puppeteer.httprequest.method', },
'puppeteer.httprequest.postdata', {
'puppeteer.httprequest.redirectchain', type: 'doc',
'puppeteer.httprequest.resourcetype', id: 'puppeteer.httprequest.aborterrorreason',
'puppeteer.httprequest.respond', label: 'abortErrorReason',
'puppeteer.httprequest.response', },
'puppeteer.httprequest.responseforrequest', {
'puppeteer.httprequest.url', type: 'doc',
id: 'puppeteer.httprequest.enqueueinterceptaction',
label: 'enqueueInterCeptaction',
},
{
type: 'doc',
id: 'puppeteer.httprequest.failure',
label: 'failure',
},
{
type: 'doc',
id: 'puppeteer.httprequest.finalizeinterceptions',
label: 'finalizeInterception',
},
{
type: 'doc',
id: 'puppeteer.httprequest.frame',
label: 'frame',
},
{
type: 'doc',
id: 'puppeteer.httprequest.headers',
label: 'headers',
},
{
type: 'doc',
id: 'puppeteer.httprequest.isnavigationrequest',
label: 'isNavigationRequest',
},
{
type: 'doc',
id: 'puppeteer.httprequest.method',
label: 'method',
},
{
type: 'doc',
id: 'puppeteer.httprequest.postdata',
label: 'postData',
},
{
type: 'doc',
id: 'puppeteer.httprequest.redirectchain',
label: 'redirectChain',
},
{
type: 'doc',
id: 'puppeteer.httprequest.resourcetype',
label: 'resourceType',
},
{
type: 'doc',
id: 'puppeteer.httprequest.respond',
label: 'respond',
},
{
type: 'doc',
id: 'puppeteer.httprequest.response',
label: 'response',
},
{
type: 'doc',
id: 'puppeteer.httprequest.responseforrequest',
label: 'responseForRequest',
},
{
type: 'doc',
id: 'puppeteer.httprequest.url',
label: 'hurl',
},
]
},
], ],
"HTTPRespose": [ "HTTPRespose": [
'puppeteer.httpresponse', {
'puppeteer.httpresponse.buffer', type: 'doc',
'puppeteer.httpresponse.frame', id: 'puppeteer.httpresponse',
'puppeteer.httpresponse.fromcache', label: 'httpResponse',
'puppeteer.httpresponse.fromserviceworker', },
'puppeteer.httpresponse.headers', {
'puppeteer.httpresponse.json', Methods: [
'puppeteer.httpresponse.ok', {
'puppeteer.httpresponse.remoteaddress', type: 'doc',
'puppeteer.httpresponse.request', id: 'puppeteer.httpresponse.buffer',
'puppeteer.httpresponse.securitydetails', label: 'buffer',
'puppeteer.httpresponse.status', },
'puppeteer.httpresponse.statustext', {
'puppeteer.httpresponse.text', type: 'doc',
'puppeteer.httpresponse.url', id: 'puppeteer.httpresponse.frame',
label: 'frame',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.fromcache',
label: 'fromCache',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.fromserviceworker',
label: 'fromServiceWorker',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.headers',
label: 'headers',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.json',
label: 'JSON',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.ok',
label: 'OK',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.remoteaddress',
label: 'remoteAddress',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.request',
label: 'request',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.securitydetails',
label: 'securityDetails',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.status',
label: 'status',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.statustext',
label: 'statusText',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.text',
label: 'text',
},
{
type: 'doc',
id: 'puppeteer.httpresponse.url',
label: 'URL',
},
]
},
], ],
"SecurityDetails": [ "SecurityDetails": [
'puppeteer.securitydetails', {
'puppeteer.securitydetails.issuer', type: 'doc',
'puppeteer.securitydetails.protocol', id: 'puppeteer.securitydetails',
'puppeteer.securitydetails.subjectalternativenames', label: 'securityDetails',
'puppeteer.securitydetails.subjectname', },
'puppeteer.securitydetails.validfrom', {
'puppeteer.securitydetails.validto', Methods: [
{
type: 'doc',
id: 'puppeteer.securitydetails.issuer',
label: 'issuer',
},
{
type: 'doc',
id: 'puppeteer.securitydetails.protocol',
label: 'protocol',
},
{
type: 'doc',
id: 'puppeteer.securitydetails.subjectalternativenames',
label: 'subjectAlternativeNames',
},
{
type: 'doc',
id: 'puppeteer.securitydetails.subjectname',
label: 'subjectName',
},
{
type: 'doc',
id: 'puppeteer.securitydetails.validfrom',
label: 'validFrom',
},
{
type: 'doc',
id: 'puppeteer.securitydetails.validto',
label: 'validTo',
},
]
},
], ],
"Target": [ "Target": [
'puppeteer.target', {
'puppeteer.target.browser', type: 'doc',
'puppeteer.target.browsercontext', id: 'puppeteer.target',
'puppeteer.target.createcdpsession', label: 'target',
'puppeteer.target.opener', },
'puppeteer.target.page', {
'puppeteer.target.type', Methods: [
'puppeteer.target.url', {
'puppeteer.target.worker', type: 'doc',
id: 'puppeteer.target.browser',
label: 'browser',
},
{
type: 'doc',
id: 'puppeteer.target.browsercontext',
label: 'browserContext',
},
{
type: 'doc',
id: 'puppeteer.target.createcdpsession',
label: 'createCDPSSession',
},
{
type: 'doc',
id: 'puppeteer.target.opener',
label: 'opener',
},
{
type: 'doc',
id: 'puppeteer.target.page',
label: 'page',
},
{
type: 'doc',
id: 'puppeteer.target.type',
label: 'type',
},
{
type: 'doc',
id: 'puppeteer.target.url',
label: 'url',
},
{
type: 'doc',
id: 'puppeteer.target.worker',
label: 'worker',
},
]
},
], ],
"CDPSession": [ "CDPSession": [
'puppeteer.cdpsession', {
'puppeteer.cdpsession.connection', type: 'doc',
'puppeteer.cdpsession.detach', id: 'puppeteer.cdpsession',
'puppeteer.cdpsession.send', label: 'CDPSession',
},
{
Methods: [
{
type: 'doc',
id: 'puppeteer.cdpsession.connection',
label: 'connection',
},
{
type: 'doc',
id: 'puppeteer.cdpsession.detach',
label: 'detach',
},
{
type: 'doc',
id: 'puppeteer.cdpsession.send',
label: 'send',
},
]
},
], ],
"Coverage": [ "Coverage": [
'puppeteer.coverage', {
'puppeteer.coverage.startcsscoverage', type: 'doc',
'puppeteer.coverage.startjscoverage', id: 'puppeteer.coverage',
'puppeteer.coverage.stopcsscoverage', label: 'coverage',
'puppeteer.coverage.stopjscoverage', },
{
Methods: [
{
type: 'doc',
id: 'puppeteer.coverage.startcsscoverage',
label: 'startCSSCoverage',
},
{
type: 'doc',
id: 'puppeteer.coverage.startjscoverage',
label: 'startJSCoverage',
},
{
type: 'doc',
id: 'puppeteer.coverage.stopcsscoverage',
label: 'stopCSSCoverage',
},
{
type: 'doc',
id: 'puppeteer.coverage.stopjscoverage',
label: 'stopJSCoverage',
},
]
},
], ],
"TimeOutError": [ "TimeOutError": [
'puppeteer.timeouterror' {
type: 'doc',
id: 'puppeteer.timeouterror',
label: 'timeOutError',
},
], ],
"EventEmitter": [ "EventEmitter": [
'puppeteer.eventemitter', {
'puppeteer.eventemitter.addlistener', type: 'doc',
'puppeteer.eventemitter.emit', id: 'puppeteer.eventemitter',
'puppeteer.eventemitter.addlistener', label: 'eventEmitter',
'puppeteer.eventemitter.listenercount', },
'puppeteer.eventemitter.off', {
'puppeteer.eventemitter.on', Methods: [
'puppeteer.eventemitter.once', {
'puppeteer.eventemitter.removelistener', type: 'doc',
'puppeteer.eventemitter.removealllisteners', id: 'puppeteer.eventemitter.addlistener',
label: 'addListener',
},
{
type: 'doc',
id: 'puppeteer.eventemitter.emit',
label: 'emit',
},
{
type: 'doc',
id: 'puppeteer.eventemitter.listenercount',
label: 'listenerCount',
},
{
type: 'doc',
id: 'puppeteer.eventemitter.off',
label: 'off',
},
{
type: 'doc',
id: 'puppeteer.eventemitter.on',
label: 'on',
},
{
type: 'doc',
id: 'puppeteer.eventemitter.once',
label: 'once',
},
{
type: 'doc',
id: 'puppeteer.eventemitter.removelistener',
label: 'removeListener',
},{
type: 'doc',
id: 'puppeteer.eventemitter.removealllisteners',
label: 'removeAllListener',
},
]
},
], ],
}, },
}; };

View File

@ -1,5 +1,5 @@
[ [
"9.1.1",
"10.1.0", "10.1.0",
"10.0.0" "10.0.0",
"9.1.1"
] ]