Skip to content

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

docs: fix Dialog class reference (#5788)

Yury Semikhatsky6a8c8d9c8770
diff --git a/docs/src/dialogs.md b/docs/src/dialogs.md
index 1fa32b3c44..baa6823d9b 100644
--- a/docs/src/dialogs.md
+++ b/docs/src/dialogs.md
@@ -37,7 +37,7 @@ page.click("button")
As a result, following snippet will never resolve:
-:::warn
+:::warning
WRONG!
:::
@@ -67,7 +67,7 @@ If there is no listener for [`event: Page.dialog`], all dialogs are automaticall
### API reference
-- [`Dialog`]
+- [Dialog]
- [`method: Dialog.accept`]
- [`method: Dialog.dismiss`]