Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(dotnet): fix async suffix of optional-arg overloads, alias WebMCPToolAnnotations (#43217)
Dmitry Gozman35d75cb74ff8
diff --git a/docs/src/api/class-webmcp.md b/docs/src/api/class-webmcp.mdindex 37d8e833d4..2d992a94d3 100644--- a/docs/src/api/class-webmcp.md+++ b/docs/src/api/class-webmcp.md@@ -59,6 +59,7 @@ Input for the tool, matching its `inputSchema`. Defaults to an empty object.- `description` <[string]> Tool description.- `inputSchema` ?<[Serializable]> JSON Schema of the tool input, when the page provides one.- `annotations` ?<[Object]> Hints the page provides about the tool.+ - alias: WebMCPToolAnnotations- `readOnly` ?<[boolean]> The tool does not modify any state.- `untrustedContent` ?<[boolean]> The tool output may contain third-party content.- `consequential` ?<[boolean]> The tool takes a consequential action, such as placing an order.diff --git a/utils/doclint/generateDotnetApi.js b/utils/doclint/generateDotnetApi.jsindex ccbb646cee..497bcca6f0 100644--- a/utils/doclint/generateDotnetApi.js+++ b/utils/doclint/generateDotnetApi.js@@ -693,7 +693,7 @@ function renderMethod(member, parent, name, options, out) {if (!options.nodocs)printArgDoc(argType, paramDocs.get(argType), out);});- out.push(`${type} ${name}(${filteredArgs.join(', ')});`);+ out.push(`${modifiers}${type} ${toAsync(name, member.async)}(${filteredArgs.join(', ')});`);}}}