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
Corrected JavaScript lambda in python sections (#6692)
Alexey Lagunov72c6f4f69e23
diff --git a/docs/src/verification.md b/docs/src/verification.mdindex d0c9cb10b4..bec72a1c02 100644--- a/docs/src/verification.md+++ b/docs/src/verification.md@@ -56,7 +56,7 @@ msg.args().get(1).jsonValue() // 42```python async# Listen for all console logs-page.on("console", msg => print(msg.text))+page.on("console", lambda msg: print(msg.text))# Listen for all console events and handle errorspage.on("console", lambda msg: print(f"error: {msg.text}") if msg.type == "error" else None)@@ -74,7 +74,7 @@ await msg.args[1].json_value() # 42```python sync# Listen for all console logs-page.on("console", msg => print(msg.text))+page.on("console", lambda msg: print(msg.text))# Listen for all console events and handle errorspage.on("console", lambda msg: print(f"error: {msg.text}") if msg.type == "error" else None)@@ -254,4 +254,4 @@ var popup = await page.RunAndWaitForEventAsync(PageEvent.Popup, async () =>- [Page]- [`event: Page.requestFailed`]- [`event: Page.dialog`]-- [`event: Page.popup`]\ No newline at end of file+- [`event: Page.popup`]