CDP: Login
cdp_loginAutomatically log in to an attached web page using a vaulted credential: restore a saved session or fill and submit the login form, origin-bound and HTTPS-only.
Instructions
Auto-login on the attached page using a VAULTED website credential. Session-first: restores a saved authenticated session if present, else fills the login form. Strictly origin-bound + https-only; the password is injected server-side and is never returned. Omit domain to use the current page's domain. Returns a status (session_restored|logged_in|filled|no_credential|wrong_origin|…).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab index from cdp_tabs to act on. | |
| url | No | Pick the tab whose URL contains this substring. | |
| port | No | CDP debug port (default 9222). | |
| domain | No | Site host, e.g. github.com (default: current page). | |
| open_url | No | Navigate here first, then log in. | |
| username | No | Account, when the site has several. | |
| auto_submit | No | Submit the login form automatically after filling it | |
| allow_insecure | No | Allow http (localhost/dev only). |