Can you run commands on slightly different URL's?

I’m new to Ui.Vision and I was wondering if there’s a way to run web commands on a site that has slightly different url’s but the exact same layout.

For example:
https://agent-dt.convoso.com/#/lead_info/54078/script?active_call=yes
https://agent-dt.convoso.com/#/lead_info/12345/script?active_call=yes

The URL is different and thus try’s to change the page I’m on which I can’t have happen when I use the open command. The webpage itself is the exact same though. The number in the url only changes data in some type boxes.

Or is there a way to run commands on a webpage without using the open command?