Skip to content

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.

ValueLLMNotes
anthropicclaude-3-haiku-20240307Anthropic API.
azure_openaigpt-4o-miniSelf-hosted Azure OpenAI API. Recommended model version is 2024-07-18.
aws_anthropicanthropic.claude-3-haiku-20240307-v1:0Serverless Amazon Bedrock API.
aws_metaus.meta.llama3-2-90b-instruct-v1:0Serverless Amazon Bedrock API.
googlegemini-2.0-flash-001Google AI Studio API.
openaigpt-4o-mini-2024-07-18OpenAI API.