Skip to content

Find the unnamed Saldeo username field on the current login form - #3

Merged
wydrox merged 1 commit into
mainfrom
cursor/saldeo-login-form-5e7d
Nov 18, 2026
Merged

wydrox merged 1 commit into
mainfrom
cursor/saldeo-login-form-5e7d

Conversation

@wydrox

@wydrox wydrox commented Nov 18, 2026

Copy link
Copy Markdown
Owner

The current Saldeo login page (/login/login.hta) is an Angular Material form. The username control is a type="text" input with qa-id="username" and autocomplete="off". It has no name and no formcontrolname — that attribute is on the <ds-input> host — and its mat-input-N id is not stable. The old username selectors matched nothing, so auto-login stopped after “czekam na formularz logowania” even when SALDEO_USERNAME / SALDEO_PASSWORD were saved. The password field and the type="submit" button (“Log in”) already matched.

The script now picks the login field by stable hints (qa-id, host formcontrolname, legacy name/id/email) and, if those are absent, by the visible text input in the same form as the password. It submits “Log in” / “Zaloguj” and ignores the password visibility toggle. The password still comes only from the mode-0600 login file, not from argv, env, or logs.

Verified against the live page in headless Chromium: the saved-style credentials are written into the username and password fields and the login POST is sent. 2FA and captcha still need a person.

Open in Web Open in Cursor 

The Angular login input has no name or formcontrolname (those sit on ds-input) and an unstable mat-input id, so the old selectors never matched it. Use the visible text field in the password form, including qa-id="username", and accept the English "Log in" button. Credentials still come only from the 0600 login file.

Co-authored-by: wydrox <wydrox@users.noreply.github.com>
@wydrox
wydrox merged commit 47ff600 into main Nov 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants