I am testing a page that provides me a transaction id in the URL after the payment, and I can’t find a way to get this part in the URL and then save it as a variable.
Example: once it’s paid, an id is shown in the URL and I need that one to assert its inclusion on a different page.
You can create a custom function in python that will take your full URL from Get Url and then return the part from URL that you need, that part can be saved in a variable you want, Global, Suite etc.
Try to create a file CustomKeywords.py in your project and import it in the needed test file.