Changing IsNavigationDisabled = false; so that the document is downloaded
var document = await _context.OpenAsync(url, cancel); with IsNavigationDisabled = false returns <html><head></head><html> and not the whole page
This commit is contained in:
Родитель
e8e47d5b14
Коммит
2e857ccf74
|
@ -45,7 +45,7 @@
|
|||
.WithJs()
|
||||
.WithDefaultLoader(new LoaderOptions
|
||||
{
|
||||
IsNavigationDisabled = true,
|
||||
IsNavigationDisabled = false,
|
||||
IsResourceLoadingEnabled = true,
|
||||
});
|
||||
_context = BrowsingContext.New(config);
|
||||
|
|
Загрузка…
Ссылка в новой задаче