docs(dotnet): roll fixes

This commit is contained in:
Max Schmitt 2024-05-13 22:42:33 +02:00
parent 64b4ac1732
commit 73d4e38f6b
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';