Skip to content

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

fix(test-runner): wrong toHaveURL JSDoc comment (#8484)

Mark Skeltone98aef212834
diff --git a/types/testExpect.d.ts b/types/testExpect.d.ts
index 3003447e10..29a217986f 100644
--- a/types/testExpect.d.ts
+++ b/types/testExpect.d.ts
@@ -155,7 +155,7 @@ declare global {
toHaveTitle(expected: string | RegExp, options?: { timeout?: number }): Promise<R>;
/**
- * Asserts page's title.
+ * Asserts page's URL.
*/
toHaveURL(expected: string | RegExp, options?: { timeout?: number }): Promise<R>;