Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(dotnet): roll fixes (#30771)

Max Schmittf2441eb4b5f2
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index 960c886fed..e0ee157045 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -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.
diff --git a/utils/doclint/generateDotnetApi.js b/utils/doclint/generateDotnetApi.js
index ed801b4057..eb9e681ff1 100644
--- a/utils/doclint/generateDotnetApi.js
+++ b/utils/doclint/generateDotnetApi.js
@@ -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';