The value of the_id
is currently set to 31
I am looking for a way to navigate to that specific URL using JavaScript in Selenium.
Here is what I have attempted so far:
store # I'm not sure which command to use here. It's not "open" as that just opens up a new window.
javascript{window.location.href = "/districts/${the_id}"}
dummy
Unfortunately, the value of ${the_id}
does not seem to be getting interpolated properly.