Chciałbym pobrać stronę która jest generowana dynamicznie i nie wymaga od użytkownika odświeżania, lecz gdy próbuje ją pobrać to pobiera się strona gdzie zamiast właściwego kodu który w danym momencie jest wyświetlany mam funkcję JS. Jak zrobić by dało się pobierać stronę która jest w danym momencie renderowana ?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication8
{
class Program
{
static void Main(string[] args)
{
WebClient oClient = new System.Net.WebClient();
string sFullHtml = oClient.DownloadString(new Uri("https://pl.betclic.com/multiplex/"));
System.IO.File.WriteAllText("zapis.html",sFullHtml);
}
}
}