Skip to content

Latest commit

 

History

1,320 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo
Alumnium

End-to-end testing with AI
Installation · Quick Start · Documentation

Alumnium is an AI-native library and MCP for end-to-end testing. It builds upon the existing test automation ecosystem and simplifies interactions with applications, providing more robust mechanisms for verifying assertions. It works with Appium, Playwright, or Selenium and gives you state-of-the-art capabilities.

landing-demo-hero.mov

Installation

MCP

curl -LsSf https://alumnium.ai/install.sh | sh
# then add to your agent
claude mcp add alumnium --env OPENAI_API_KEY=... -- alumnium mcp

Java

dependencies {
  testImplementation 'ai.alumnium:alumnium:0.21.0'
  testRuntimeOnly    'ai.alumnium:alumnium-cli-darwin-arm64:0.21.0'
  // Add other platforms as needed
}

Python

pip install alumnium

TypeScript

npm install alumnium

Refer to documentation for installation details on other MCP clients.

Quick Start

MCP

  1. Run your agent (Claude Code).
  2. Tell it to open the URL and test your application.

Java

import ai.alumnium.Alumni;
import org.openqa.selenium.chrome.ChromeDriver;

class AlumniumTest {
    public static void main(String...args) {
        ChromeDriver driver = new ChromeDriver();
        Alumni alumni = new Alumni(driver);
        driver.get("https://search.brave.com");
        alumni.act("type 'selenium' into the search field, then press 'Enter'");
        alumni.check("page title contains selenium");
        alumni.check("search results contain selenium.dev");
        alumni.quit();
    }
}

Python

import os
from alumnium import Alumni
from selenium.webdriver import Chrome

os.environ["OPENAI_API_KEY"] = "..."

driver = Chrome()
driver.get("https://search.brave.com")

al = Alumni(driver)
al.do("type 'selenium' into the search field, then press 'Enter'")
al.check("page title contains selenium")
al.check("search results contain selenium.dev")
assert al.get("atomic number") == 34

al.quit()

TypeScript

import { Alumni } from "alumnium";
import { Builder } from "selenium-webdriver";

process.env.OPENAI_API_KEY = "...";

const driver = await new Builder().forBrowser("chrome").build();
const al = new Alumni(driver);

await driver.get("https://search.brave.com");
await al.do("type 'selenium' into the search field, then press 'Enter'");
await al.check("page title contains selenium");
await al.check("search results contain selenium.dev");
console.assert((await al.get("atomic number")) === 34);

await al.quit();

Check out documentation and more Java, Python and TypeScript examples.

Contributing

See the contributing guidelines for information on how to get involved in the project and develop locally.

Acknowledgments

TestMu AI

Alumnium is a member of the TestMu AI Open Source Program, which supports the project community and development with the necessary tools. Thank you! 💚

About

End-to-End Testing with AI for Agents and Engineers

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.0k stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages