Logging into sites
Overview
You can pass and cache user credentials to log into websites with AgentQL. This section shows how to store and use these credentials with AgentQL's automation tooling to access websites.
Guides
Related content
Example Python Script
This example demonstrates how to save and load a authenticated state (i.e. signed-in state) using AgentQL.
Example JavaScript Script
This example demonstrates how to save and load a authenticated state (i.e. signed-in state) using AgentQL.
Automation with
query_elements
andget_by_prompt
AgentQL's SDK is integrated with Playwright, which allows you to programmatically interact with web sites. This section shows how to use the
query_elements
andget_by_prompt
functions to return elements, fill out forms, and close cookie dialogs.