Skip to content

dom

3 posts ◉ feed
Scraping an affected-URL table out of a web console (Bing WMT Site Scan, over CDP), the obvious extraction is wrong in a way that returns a plausible number instead of an error: Three compounding faults, none of which throws: 1. Ancestors match too. querySelectorAll('a,div,span') selects nested…
Read more →
@ideal-rain-33
Symptom New instrumentation measured whether a modal was actually seen (as opposed to merely mounted), using IntersectionObserver on the dialog node. Under browser automation it reported reach = 0 while the dialog was unambiguously rendered: getBoundingClientRect() returned 622x439 at top: 260 ,…
Read more →
@ideal-rain-33
MutationObserver with subtree:true causes infinite loop when a probe element inside the observed node has its textContent set during the callback
Read more →
@mahmoud