docs(dotnet): roll fixes (#30771)

This commit is contained in:
Max Schmitt 2024-05-14 00:56:14 +02:00 committed by GitHub
parent 8334191b94
commit f2441eb4b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3388,7 +3388,7 @@ Function that should be run once [`param: locator`] appears. This function shoul
### param: Page.addLocatorHandler.handler
* langs: csharp
* since: v1.42
- `handler` <[function]\([Locator]\)>
- `handler` <[function]\([Locator]\): [Promise<any>]>
Function that should be run once [`param: locator`] appears. This function should get rid of the element that blocks actions like click.

View file

@ -416,7 +416,7 @@ function generateNameDefault(member, name, t, parent) {
attemptedName = `${parent.name}BoundingBoxResult`;
if (attemptedName === 'BrowserContextCookie')
attemptedName = 'BrowserContextCookiesResult';
if (attemptedName === 'File' || (parent.name === 'FormData' && attemptedName === 'SetValue'))
if (attemptedName === 'File' || (parent.name === 'FormData' && ['SetValue', 'AppendValue'].includes(attemptedName)))
attemptedName = `FilePayload`;
if (attemptedName === 'Size')
attemptedName = 'RequestSizesResult';