Skip to main content

Alumnium AI plugin for the Robot Framework Browser Library

Project description

Robot Framework Alumnium Browser Plugin

This project provides an experimental plugin for the Robot Framework Browser Library, integrating features from the Alumnium project.

Unlike the original Alumnium project, this plugin does not expose a separate library, but instead extends the native Browser Library with additional AI-assisted capabilities.
This design ensures a seamless experience for users who already work with the Browser Library and want to leverage features of both technologies in the same test.

🚧 Early-stage project: This plugin is under active development. Feedback and contributions are welcome!


Features

  • AI-assisted browser automation using OpenAI (e.g. Perform AI Task)
  • Fully compatible with existing Browser Library workflows (well... almost. Not sure about the handling of contexts)
  • Declarative test writing: describe what you want to do, the plugin figures out the steps
  • Extendable design using the Browser Library plugin API

Installation

pip install robotframework-alumniumbrowserplugin

Usage

*** Settings ***
Library   Browser  plugins=AlumniumBrowserPlugin
Suite Setup  Suite Initialization

*** Variables ***
${AI_MODEL}      openai/gpt-4o
${AI_API_KEY}    xxxxx
${URL}    https://seleniumbase.io/apps/calculator

*** Test Cases ***

Do Calculations With AI
    # robotcode: ignore
    New AI Page  ${URL}
    Ai Do   Calculate the sum of 2 + 2. Then Multiply the result by 12 and then divide it by 6"
    AI Check  Result is 8
    Take Screenshot  EMBED  id=output

*** Keywords ***

Suite Initialization
    New AI Browser  browser=chromium  headless=False 
    ...    ai_model=${AI_MODEL}
    ...    api_key=${AI_API_KEY}

See also the repository rf-alumniumbrowserplugin-example with a more detailled example.

🤝 Contributing

This is an early-stage project and contributions are welcome! Please open issues or pull requests in this repository.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_alumniumbrowserplugin-0.1.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file robotframework_alumniumbrowserplugin-0.1.4.tar.gz.

File metadata

File hashes

Hashes for robotframework_alumniumbrowserplugin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 82ef7f33d017e02da140087876513f38a27d1de8a8a95006cdde718c8462d119
MD5 a5011ea643de2ffbd2fbc3b8446c1d55
BLAKE2b-256 bac3babdee1269186fc9fe64b874f3973db66fb88f5acd0864c5ca9224825b14

See more details on using hashes here.

File details

Details for the file robotframework_alumniumbrowserplugin-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_alumniumbrowserplugin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47f973c99a8477925062e7ce3911ceb0a8f265f153af453d79336cfe51a99034
MD5 f0c106a43e0d905d2ab40d026558eb11
BLAKE2b-256 11cdf12d4195ffc07a42322e3f3dd1c77079033c81aea0ff7902af8ec91c4af7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page