mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: mark some paths as such (#4896)
This commit is contained in:
parent
2908568f9a
commit
b6cd385a67
@ -67,7 +67,7 @@ modifiers back. If not specified, currently pressed modifiers are used.
|
|||||||
Defaults to `left`.
|
Defaults to `left`.
|
||||||
|
|
||||||
## input-files
|
## input-files
|
||||||
- `files` <[string]|[Array]<[string]>|[Object]|[Array]<[Object]>>
|
- `files` <[path]|[Array]<[path]>|[Object]|[Array]<[Object]>>
|
||||||
- `name` <[string]> [File] name **required**
|
- `name` <[string]> [File] name **required**
|
||||||
- `mimeType` <[string]> [File] type **required**
|
- `mimeType` <[string]> [File] type **required**
|
||||||
- `buffer` <[Buffer]> File content **required**
|
- `buffer` <[Buffer]> File content **required**
|
||||||
@ -99,7 +99,7 @@ Defaults to `'visible'`. Can be either:
|
|||||||
This is opposite to the `'visible'` option.
|
This is opposite to the `'visible'` option.
|
||||||
|
|
||||||
## context-option-storage-state
|
## context-option-storage-state
|
||||||
- `storageState` <[string]|[Object]>
|
- `storageState` <[path]|[Object]>
|
||||||
- `cookies` <[Array]<[Object]>> Optional cookies to set for context
|
- `cookies` <[Array]<[Object]>> Optional cookies to set for context
|
||||||
- `name` <[string]> **required**
|
- `name` <[string]> **required**
|
||||||
- `value` <[string]> **required**
|
- `value` <[string]> **required**
|
||||||
|
@ -33,7 +33,6 @@ const PROJECT_DIR = path.join(__dirname, '..', '..');
|
|||||||
if (clazz)
|
if (clazz)
|
||||||
return `\`${clazz.name}\``;
|
return `\`${clazz.name}\``;
|
||||||
});
|
});
|
||||||
outline.copyDocsFromSuperclasses([]);
|
|
||||||
outline.generateSourceCodeComments();
|
outline.generateSourceCodeComments();
|
||||||
const result = serialize(outline);
|
const result = serialize(outline);
|
||||||
fs.writeFileSync(path.join(PROJECT_DIR, 'api.json'), JSON.stringify(result));
|
fs.writeFileSync(path.join(PROJECT_DIR, 'api.json'), JSON.stringify(result));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user