Purpose
Sign in to an existing Automotive News account and leave the authenticated session on the user dashboard.
When to Use
Use when the caller has existing Automotive News credentials available through the secure credential mechanism and needs an authenticated session. Do not use for account creation, password reset, or subscription changes.
Workflow
- Navigate directly to
https://www.autonews.com/user-dashboard. - If the page exposes a login control, activate the button whose visible text matches
/log in/i; avoid relying on arbitrarybutton[type="button"]elements because the page may contain several unrelated controls. - In the login UI, enter the stored account email into
input#emailand submit the form. - After the email step advances, enter the stored password into
input#passwordand submit the form. - If an anti-bot or CAPTCHA challenge appears, invoke the browser's challenge solver, then wait for the dashboard navigation/authentication to complete.
- Verify the current page with this self-contained evaluator:
(() => {
const text = document.body?.innerText || "";
const login = [...document.querySelectorAll('button,a,[role="button"]')].some(
(el) => /\blog\s*in\b/i.test((el.innerText || el.textContent || "").trim()),
);
const dashboard =
/\/user-dashboard\/?(?:[?#].*)?$/.test(location.pathname) &&
(/dashboard|account|profile|subscription/i.test(text) ||
!!document.querySelector("input#password") === false);
return { authenticated: dashboard && !login, url: location.href };
})();Site-Specific Gotchas
- The account form is a staged flow: submit the email before the password field becomes available.
- The login control may be rendered among several generic buttons; select it by visible text rather than button order.
- An anti-bot challenge may appear during authentication and must be solved before the session finishes loading.
- Keep credentials in the secure credential mechanism; never place them in URLs, scripts, or logs.
Expected Output
An authenticated Automotive News browser session on /user-dashboard, with the evaluator returning authenticated: true and the dashboard URL.