put calculated xpaths behind a domain toggle