-
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Milestone
Description
I have a page like this:
<html>
<head>
<title>test page</title>
<script>
window.onload = function() {
document.body.appendChild( document.createTextNode( 'test' ))
}
</script>
</head>
<body></body>
</html>And code that loads it:
var config = Configuration.Default.WithDefaultLoader().WithJavaScript();
var browser = BrowsingContext.New( config );
var doc = browser.OpenAsync( url ).Result;
Console.WriteLine( doc.Body.OuterHtml );The output supposed to be <body>test</body> but it is <body></body>.
Am I doing something wrong?
Reactions are currently unavailable