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): use csharp 10 namespace declaration (#17248)
Max Schmitt0b4de0df7f51
diff --git a/utils/doclint/templates/interface.cs b/utils/doclint/templates/interface.csindex e2b3da3c1f..a0fadccb2d 100644--- a/utils/doclint/templates/interface.cs+++ b/utils/doclint/templates/interface.cs@@ -37,9 +37,8 @@ using System.Threading.Tasks;#nullable enable-namespace Microsoft.Playwright-{- [CONTENT]-}+namespace Microsoft.Playwright;++[CONTENT]#nullable disablediff --git a/utils/generate_dotnet_channels.js b/utils/generate_dotnet_channels.jsindex 71e35aa5a9..6852ffda57 100644--- a/utils/generate_dotnet_channels.js+++ b/utils/generate_dotnet_channels.js@@ -183,14 +183,14 @@ fs.mkdirSync(dir, { recursive: true });for (const [name, item] of Object.entries(protocol)) {if (item.type === 'interface') {- const init = objectType(item.initializer || {}, ' ');+ const init = objectType(item.initializer || {}, '');const initializerName = name + 'Initializer';const superName = inherits.has(name) ? inherits.get(name) + 'Initializer' : null;writeCSharpClass(initializerName, superName, init.ts);} else if (item.type === 'object') {if (Object.keys(item.properties).length === 0)continue;- const init = objectType(item.properties, ' ', false, name);+ const init = objectType(item.properties, '', false, name);writeCSharpClass(name, null, init.ts);}}