From 8576331d4eb6ab9a5e491b55dea04eadfd4f32ef Mon Sep 17 00:00:00 2001 From: unclecode Date: Wed, 18 Feb 2026 06:43:00 +0000 Subject: [PATCH] Add Shadow DOM flattening and reorder js_code execution pipeline - Add `flatten_shadow_dom` option to CrawlerRunConfig that serializes shadow DOM content into the light DOM before HTML capture. Uses a recursive serializer that resolves projections and strips only shadow-scoped