I used Selenium(version 4.1.0) in a C# project.I looked up a lot of information. This is My code
ChromeDriver driver = new ChromeDriver();
driver.Navigate().GoToUrl("xxxx");
var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(30));
wait.Until(ExpectedConditions.ElementExists(By.Id("xxx")));
context.Response.Write(driver.pageSource);
This is very effective for get full page html until I test https://jp.mercari.com. It can not get full page.
Is there any other way to get the complated page source?