Unable to automate Shopify login using Selenium - Password page not loading after Continue

Hi Team,

I am trying to automate Shopify login using Selenium Python.

Steps:

  1. Open Shopify login page
  2. Enter email address
  3. Click Continue

Issue:

  • Email is entered successfully.
  • A valid g-recaptcha-response token is generated.
  • No CAPTCHA is visible on the UI.
  • After clicking Continue, the password page does not load.
  • Selenium is unable to proceed to the password step.

Environment:

  • Python 3.10
  • Selenium 4.x
  • Firefox Browser
  • Geckodriver 0.37

Has anyone experienced this issue?
Is Shopify Accounts using any security challenge, anti-bot detection, or special login flow that affects Selenium automation?

Any guidance would be appreciated.

Thanks.

You could check out this person’s code on GitHub:

@Deepti09

Shopify Accounts runs reCAPTCHA Enterprise plus automation detection, so even when you generate a valid token the session gets scored, and Selenium gives itself away, which lands a low bot score and makes the flow silently stall after Continue without ever showing a visible CAPTCHA. That’s by design, and trying to defeat it is a cat and mouse you’ll keep losing, plus automating the login UI runs against Shopify’s terms. The real fix depends on what you’re actually after:

If you need programmatic access to a store or its admin data, skip the login entirely and use the API, create a custom app under Settings, Apps and sales channels, Develop apps, and use its Admin API access token, which is stable and needs no login at all.

If you genuinely need to test the UI itself, don’t drive the production accounts login, authenticate once manually and reuse the saved session cookies or storage state in your test, or run against a development store with token based auth.

Either way, the supported path is the API or a reused session, not automating accounts.shopify.com.

Also worth checking the reply by @NKCreativeSoulutions


Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.

Best,
Moeed