Reference
Browser Support
Alumnium works by building an accessibility tree of the webpage. Unfortunately, there is no standard API in browsers to provide this tree. Due to this limitation, the current version of Alumnium only works in Chromium-based browsers such as Google Chrome, Microsoft Edge, Opera, and others.
Playwright driver supports both headful and headless modes, while Selenium driver only supports the headful mode.
Environment Variables
The following environment variables can be used to control the behavior of Alumnium.
ALUMNIUM_LOG_LEVEL
Sets the level used by Alumnium logger. Supported values are:
debug
info
warning
(default)error
critical
ALUMNIUM_LOG_PATH
Sets the output location used by Alumnium logger. Supported values are:
- a path to a file (e.g.
alumnium.log
); stdout
to print logs to the standard output.
ALUMNIUM_MODEL
Select AI provider and model to use.
Value | LLM | Notes |
---|---|---|
anthropic | claude-3-haiku-20240307 | Anthropic API. |
azure_openai | gpt-4o-mini | Self-hosted Azure OpenAI API. Recommended model version is 2024-07-18. |
aws_anthropic | anthropic.claude-3-haiku-20240307-v1:0 | Serverless Amazon Bedrock API. |
aws_meta | us.meta.llama3-2-90b-instruct-v1:0 | Serverless Amazon Bedrock API. |
gemini-2.0-flash-001 | Google AI Studio API. | |
openai | gpt-4o-mini-2024-07-18 | OpenAI API. |