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
docs(auth): small improvement to .NET storageState example (#30313)
Christopher Dunderdalef7e612fb4bd9
diff --git a/docs/src/auth.md b/docs/src/auth.mdindex ba7af6f4cd..6c26e6b1a3 100644--- a/docs/src/auth.md+++ b/docs/src/auth.md@@ -296,15 +296,16 @@ context = browser.new_context(storage_state="state.json")```csharp// Save storage state into the file.+// Tests are executed in <TestProject>\bin\Debug\netX.0\ therefore relative path is used to reference playwright/.auth created in project rootawait context.StorageStateAsync(new(){- Path = "state.json"+ Path = "../../../playwright/.auth/state.json"});// Create a new context with the saved storage state.var context = await browser.NewContextAsync(new(){- StorageStatePath = "state.json"+ StorageStatePath = "../../../playwright/.auth/state.json"});```