diff --git a/dotnet/docs/api/class-pageassertions.mdx b/dotnet/docs/api/class-pageassertions.mdx
index 3eb93c3745..7ada1a97a5 100644
--- a/dotnet/docs/api/class-pageassertions.mdx
+++ b/dotnet/docs/api/class-pageassertions.mdx
@@ -72,13 +72,13 @@ await Expect(Page).ToHaveURLAsync(new Regex(".*checkout"));
```
**Arguments**
-- `urlOrRegExp` [string] | [Regex] Added in: v1.18#
+- `url` [string] | [Regex] | [Func]<[string], bool> Added in: v1.18#
- Expected URL string or RegExp.
+ Expected URL string, RegExp, or predicate receiving [URL] to match. When a [BaseURL](/api/class-browser.mdx#browser-new-context-option-base-url) via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor.
- `options` `PageAssertionsToHaveURLOptions?` *(optional)*
- `IgnoreCase` [bool]? *(optional)* Added in: v1.44#
- Whether to perform case-insensitive match. [IgnoreCase](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression flag if specified.
+ Whether to perform case-insensitive match. [IgnoreCase](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression parameter if specified. A provided predicate ignores this flag.
- `Timeout` [float]? *(optional)* Added in: v1.18#
Time to retry the assertion for in milliseconds. Defaults to `5000`.
diff --git a/java/docs/api/class-pageassertions.mdx b/java/docs/api/class-pageassertions.mdx
index e3e0e05fca..43ee013d46 100644
--- a/java/docs/api/class-pageassertions.mdx
+++ b/java/docs/api/class-pageassertions.mdx
@@ -68,13 +68,13 @@ assertThat(page).hasURL(".com");
```
**Arguments**
-- `urlOrRegExp` [String] | [Pattern] Added in: v1.18#
+- `url` [String] | [Pattern] | [Predicate]<[String]> Added in: v1.18#
- Expected URL string or RegExp.
+ Expected URL string, RegExp, or predicate receiving [URL] to match. When a [setBaseURL](/api/class-browser.mdx#browser-new-context-option-base-url) via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor.
- `options` `PageAssertions.HasURLOptions` *(optional)*
- `setIgnoreCase` [boolean] *(optional)* Added in: v1.44#
- Whether to perform case-insensitive match. [setIgnoreCase](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression flag if specified.
+ Whether to perform case-insensitive match. [setIgnoreCase](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression parameter if specified. A provided predicate ignores this flag.
- `setTimeout` [double] *(optional)* Added in: v1.18#
Time to retry the assertion for in milliseconds. Defaults to `5000`.
diff --git a/nodejs/docs/api/class-locatorassertions.mdx b/nodejs/docs/api/class-locatorassertions.mdx
index c5f49cd24e..f2d3b71a04 100644
--- a/nodejs/docs/api/class-locatorassertions.mdx
+++ b/nodejs/docs/api/class-locatorassertions.mdx
@@ -1002,7 +1002,6 @@ Asserts that the target element matches the given [accessibility snapshot](../ar
```js
await expect(page.locator('body')).toMatchAriaSnapshot();
await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
-await expect(page.locator('body')).toMatchAriaSnapshot({ path: '/path/to/snapshot.yml' });
```
**Arguments**
diff --git a/nodejs/docs/api/class-pageassertions.mdx b/nodejs/docs/api/class-pageassertions.mdx
index 0769c76fe9..56ebdaf75f 100644
--- a/nodejs/docs/api/class-pageassertions.mdx
+++ b/nodejs/docs/api/class-pageassertions.mdx
@@ -224,13 +224,13 @@ await expect(page).toHaveURL(/.*checkout/);
```
**Arguments**
-- `urlOrRegExp` [string] | [RegExp] Added in: v1.18#
+- `url` [string] | [RegExp] | [function]\([URL]\):[boolean] Added in: v1.18#
- Expected URL string or RegExp.
+ Expected URL string, RegExp, or predicate receiving [URL] to match. When a [baseURL](/api/class-browser.mdx#browser-new-context-option-base-url) via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor.
- `options` [Object] *(optional)*
- `ignoreCase` [boolean] *(optional)* Added in: v1.44#
- Whether to perform case-insensitive match. [ignoreCase](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression flag if specified.
+ Whether to perform case-insensitive match. [ignoreCase](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression parameter if specified. A provided predicate ignores this flag.
- `timeout` [number] *(optional)* Added in: v1.18#
Time to retry the assertion for in milliseconds. Defaults to `timeout` in `TestConfig.expect`.
diff --git a/python/docs/api/class-pageassertions.mdx b/python/docs/api/class-pageassertions.mdx
index bac5b966a5..457fe97c6c 100644
--- a/python/docs/api/class-pageassertions.mdx
+++ b/python/docs/api/class-pageassertions.mdx
@@ -199,12 +199,12 @@ await expect(page).to_have_url(re.compile(".*checkout"))
**Arguments**
-- `url_or_reg_exp` [str] | [Pattern] Added in: v1.18#
+- `url` [str] | [Pattern] | [Callable]\[[URL]\]:[bool] Added in: v1.18#
- Expected URL string or RegExp.
+ Expected URL string, RegExp, or predicate receiving [URL] to match. When a [base_url](/api/class-browser.mdx#browser-new-context-option-base-url) via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor.
- `ignore_case` [bool] *(optional)* Added in: v1.44#
- Whether to perform case-insensitive match. [ignore_case](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression flag if specified.
+ Whether to perform case-insensitive match. [ignore_case](/api/class-pageassertions.mdx#page-assertions-to-have-url-option-ignore-case) option takes precedence over the corresponding regular expression parameter if specified. A provided predicate ignores this flag.
- `timeout` [float] *(optional)* Added in: v1.18#
Time to retry the assertion for in milliseconds. Defaults to `5000`.