cdp: fix tests for setchildnodes

This commit is contained in:
Pierre Tachoire
2025-05-02 15:55:49 +02:00
parent 8b9084cb73
commit f04030904e
2 changed files with 16 additions and 8 deletions

View File

@@ -120,6 +120,7 @@ const TestContext = struct {
}
if (opts.html) |html| {
if (bc.session_id == null) bc.session_id = "SID-X";
parser.deinit();
try parser.init();
const page = try bc.session.createPage();