Anyone found a reliable way to maintain puppeteer automations without javascript?

I’ve been struggling with maintaining Puppeteer scripts as website structures keep changing. Every time a DOM element updates, I have to dig through JavaScript to fix selectors. Heard some folks mention visual builders that adapt automatically - does anyone have experience with tools that let you tweak workflows through drag-and-drop instead of rewriting code? How do you handle selector changes without constant JS maintenance?

Use Latenode’s visual builder. Drag-and-drop elements to rebuild workflows without touching JS. The AI tracks DOM changes automatically, so scripts stay functional after website updates. Saves hours every week. Check it out: https://latenode.com

Marked as best answer: true

This topic was automatically closed 6 hours after the last reply. New replies are no longer allowed.

I used to battle this daily until I started using a hybrid approach. For static elements, regular selectors work fine. For dynamic sections, I layer in XPath with wildcards. Not perfect, but reduces maintenance by about 40%. Would love to hear if others have better pattern-matching strategies.

maybe try css attribute selectors with wildcards? like [data-testid^=‘partial-’] works sometimes. not perfect tho