Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: python api review #4986

Merged
merged 1 commit into from
Jan 12, 2021
Merged

Conversation

pavelfeldman
Copy link
Member

No description provided.

@@ -219,6 +225,7 @@ Whether to pass the argument as a handle, instead of passing by value. When pass
supported. When passing by value, multiple arguments are supported.

## async method: BrowserContext.exposeFunction
**DEPRECATED** Use [`method: BrowserContext.exposeBinding`] instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets remove it maybe from Python directly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually considered it and decided to leave it as is. I'll remove the deprecation note.

types/types.d.ts Outdated
* > **NOTE** Browser context **must** be created with the `acceptDownloads` set to `true` when user needs access to the
* downloaded content. If `acceptDownloads` is not set or set to `false`, download events are emitted, but the actual
* download is not performed and user has no access to the downloaded files.
* :::note
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this :::note isn't official markdown syntax, so shall we maybe transform it for the types and api.json so editors like VSC can display it correctly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we should do it at a codegen stage, was planning on doing it later, but might as well do it right away.

@pavelfeldman pavelfeldman merged commit cac119f into microsoft:master Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants