I want to pass a variable in the URL, here is my code:
url_id = ["253443","456545"]
for id in url_id :
print("Inside For loop", id) # this print the correct id (253443)
page.goto('https://abc.name.co/admin/{id}/reports/stats',timeout=0)
But when I printed the URL it came like this: 'https://abc.name.co/admin/7Bid%7/reports/stats' like this in the {} block -> "%7Bid%7D"
Can you please review my approach and let me know what am I doing wrong? Thanks!