Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/verify-url-visibility-rules

# Verify URL Visibility Rules

Whatfix enables you to use various [URL properties as Visibility Rules](/web/url-condition-rules). Your browser’s **Developer Tools** enables you to get the value of each URL property.

---

Use the following steps to find the value of various URL properties in a browser:

1. Open the page whose URL properties you want to find out.
2. Open your browser’s [**Developer Tools**](https://developer.chrome.com/docs/devtools/open).

![debug\_flow\_devtools](/images/7a/debug_flow_devtools-7a55c1bd.png)
3\. Go to the **Console** tab.

![debug\_console](/images/68/debug_console-68068591.png)

---

The following table shows the commands to get each URL property. Type the command in the Console and then press **Enter** to get the URL property.

| URL Property | Console Command     |
| ------------ | ------------------- |
| URL          | `location.href`     |
| URL Hostname | `location.hostname` |
| URL Path     | `location.pathname` |
| URL Hash     | `location.hash`     |

## Related

- [Visibility Rules Best Practices](/web/visibility-rules-best-practices)
