Find-replace a target div

Want to add an <hr> in place of (or in front of) the first div within the foo div.

replace_string(//div[@class="foo"]/div[1]) : <hr>

That will not work. Possible?

Hi there, that’s currently not possible using the site config files. replace_string is only for string replacement.