The test step below validates that a given URL is displayed in the Browser address bar.

The XPath for the AddressAndSearchBar repository item looks like this:
My issue is that the repository item above is not always found when the test runs. Is there an easier, simpler or standard way to validate that a particular URL, is the one displayed in the browser address bar?/form[@title~'^{REMOVED}']/container/container[@accessiblerole='Client' and @accessiblehelp='BrowserView']/container[@accessiblerole='Client' and @accessiblehelp='TopContainerView']/toolbar[@accessiblename='main']/container[@accessiblerole='Grouping' and @accessiblehelp='LocationBarView']/text[@accessiblename='Address and search bar']
Thanks!