Thanks for all the replies, appreciate it.
I was wanting to grab the rendered HTML because google doesnt do SEO very well with Blazor SSR and wanted to create static html files and also create a sitemap from the website and then load a static html file if it was a search engine.
I ended up using a aspnet core worker process that runs everyday to call all the possible website links and create all static html file and a sitemap using:
var response = await client.GetAsync(sWebsitePageURL));
response.EnsureSuccessStatusCode();
var content = await response.Content.ReadAsStringAsync();
await File.WriteAllTextAsync(sDIRToSitemap, content);
Thanks for all the input guys
Regards James