FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Your Login Script Breaks Every 2 Weeks
NewsWeb Development

Your Login Script Breaks Every 2 Weeks

via Dev.to WebdevOndrej Machala11h ago

You wrote a Playwright login script for your screenshot automation. It fills in the email, clicks the password field, types the password, clicks "Sign in." It worked on Monday. By Wednesday the CSS class changed and the selector broke. You fixed it. Two weeks later the login page added a CAPTCHA. Script breaks again. Another two weeks. They added an OAuth consent screen. The login now redirects to a third-party domain. You're maintaining a 60-line login function that breaks more often than the screenshots it's trying to capture. The alternative: just log in once Heroshot takes a differnt approach. Instead of scripting the login, you do it yourself in a real browser: npx heroshot config This opens a browser. You navigate to your app, log in however you normally would (password, Google SSO, magic link, YubiKey, whatever), and then start picking elements for screenshots. When you're done, heroshot saves the browser session encrypted: .heroshot/session.enc Next time you run npx heroshot ,

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

Wiim Sound review: This smart speaker is so close to fully replacing my Sonos
News

Wiim Sound review: This smart speaker is so close to fully replacing my Sonos

ZDNet • 17m ago

Updated Test Article
News

Updated Test Article

Dev.to • 35m ago

Own a Sony TV? Changing these 3 settings will greatly improve its picture quality
News

Own a Sony TV? Changing these 3 settings will greatly improve its picture quality

ZDNet • 37m ago

News

Stop Using Switch Statements: Keyed Services in .NET — A Practical Approach

Medium Programming • 1h ago

Workers report watching Ray-Ban Meta-shot footage of people using the bathroom
News

Workers report watching Ray-Ban Meta-shot footage of people using the bathroom

Ars Technica • 1h ago

Discover More Articles