JavaScript SDK References
The AgentQL JavaScript SDK ships with a range of modules and classes to help you automate interactions with and parse, extract, and scrape data from web pages quickly and at scale.
agentqlmodule provides utility methods to set configurations, including the API key, and to convert Playwright'sPageto AgentQL'sPage, which gives access to AgentQL's querying API.agentql/toolsmodule provides utility methods to help with data extraction and web automation, including remote browser session management.- AgentQL
Pageis a wrapper around Playwright'sPagethat provides access to AgentQL's querying API. AQLResponseProxyis returned by the AgentQL'sPage'squeryElements()method. It's not the actual data but a metadata structure that allows intuitive access to web elements using dot notation.
Check out the Release Notes for updates and new features.