Why won't this phantom.debug() string perform string interpolation?
foo = "bar" phantom.debug("Testing: {foo}")
It should read as "Testing: bar"
"Testing: bar"
This method works for that:
phantom.debug("Testing: {}".format(foo))
View solution in original post
This is an old question but I believe it is because you forgot the f before the string.It should be:
phantom.debug(f"Testing: {foo}")
😉