Skip to content

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

chore(dotnet): avoid adding two prefixes (#5974)

Darío Kondratiuk779037a77e6a
diff --git a/utils/doclint/generateDotnetApi.js b/utils/doclint/generateDotnetApi.js
index 8cf0b0d265..f2cf2aea32 100644
--- a/utils/doclint/generateDotnetApi.js
+++ b/utils/doclint/generateDotnetApi.js
@@ -438,7 +438,8 @@ function renderMethod(member, parent, output, name) {
// set-only methods to settable properties
if (member.args.size == 0
&& type !== 'void'
- && !name.startsWith('Get')) {
+ && !name.startsWith('Get')
+ && !/Is[A-Z]/.test(name)) {
if (!member.async) {
if (member.spec)
output(XmlDoc.renderXmlDoc(member.spec, maxDocumentationColumnWidth));