# Function: webUrl()

> > **webUrl**(`constraints?`): [`Arbitrary`](../classes/Arbitrary.md)\<`string`\>

# Function: webUrl()

> **webUrl**(`constraints?`): [`Arbitrary`](../classes/Arbitrary.md)\<`string`\>

Defined in: [packages/fast-check/src/arbitrary/webUrl.ts:63](https://github.com/dubzzz/fast-check/blob/4663db899d411b24434189b8e560b5ecefc93f23/packages/fast-check/src/arbitrary/webUrl.ts#L63)

For web url

According to [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt) and
[WHATWG URL Standard](https://url.spec.whatwg.org/)

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `constraints?` | [`WebUrlConstraints`](../interfaces/WebUrlConstraints.md) | Constraints to apply when building instances |

## Returns

[`Arbitrary`](../classes/Arbitrary.md)\<`string`\>

## Remarks

Since 1.14.0
