Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    rf Seleniumlib to Browser Lib

    1

    SeleniumLibrary is the flakiest part of your Robot Framework suite. This skill swaps it for Browser library, structure intact

    Free

    9 uses5.0 (1 review)
    rf-seleniumlib-to-browser-lib

    rf-seleniumlib-to-browser-lib

    Example session with this skill installed

    Migrate the login test in tests/gui/login_tests.robot to use the Browser library. Use semantic locators and maintain the existing aggregator pattern.

    • Read your context and instructions
    • Compiled the rf-seleniumlib-to-browser-lib

    Created: tests/gui/login_browser.robot
    Updated: tests/gui/login_tests.robot

    • Resource imports switched to Browser aggregator.
    • Test Setup updated to 'Login Browser Test Setup'.
    • XPath //button[@id='submit'] converted to semantic 'role=button[name="Log In"]'.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    This skill automates the migration of Robot Framework test suites from the legacy SeleniumLibrary to the modern, Playwright-based Browser library. It handles the heavy lifting of identifying keyword equivalents, restructuring file hierarchies, and updating test configurations while maintaining repository consistency.

    Why use this skill

    Unlike simple search-and-replace tools, this skill understands the architectural shift between Selenium and Playwright. It focuses on behavior preservation rather than mechanical keyword mapping. It intelligently detects existing repository patterns, handles transitive dependency conflicts (preventing "Multiple keywords with name" errors), and generates parallel test files so you can migrate incrementally without breaking your current CI/CD pipeline.

    Key Features

    • Repo-First Adaptation: Naturally adopts your project's specific naming conventions and setup patterns.
    • Dependency Analysis: Automatically traces import chains to prevent Selenium/Browser library conflicts.
    • Smart Locators: Converts brittle XPaths into stable, Playwright-native semantic locators (role, text, label).
    • Parallel-Ready: Refactors setups to use isolated browser contexts, enabling faster parallel execution.
    • Risk Assessment: Flags high-risk areas like SSO, multi-tab handling, and file uploads for manual review.

    Supported Tools

    Optimized for Robot Framework environments using SeleniumLibrary and robotframework-browser. It utilizes file system tools (glob, grep, read/write) to analyze and refactor your codebase efficiently.

    • Cannot handle custom Python-based Selenium keywords.
    • Requires manual review for complex multi-window or SSO flows.
    • Semantic locator conversion may fail on highly dynamic shadow DOMs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    5.0
    1 review
    5
    1
    4
    0
    3
    0
    2
    0
    1
    0

    This skill has been used 9 times.

    Trust & safety

    Security scan

    Security scan passed 5 months ago

    • Free with an Agensi account

    Requires

    Python

    Permissions

    Terminal / Shell
    Browser
    Listed5 months ago

    What's inside

    Frequently Asked Questions

    This skill automates the transition from SeleniumLibrary to the Playwright-based Browser library by refactoring keywords, updating locators to semantic standards, and restructuring test configurations to support isolated browser contexts.

    The skill generates parallel test files rather than overwriting your original test suites, allowing you to validate Playwright scripts in your CI/CD pipeline while maintaining your existing Selenium baseline.

    It is designed for any Robot Framework project using SeleniumLibrary; the skill performs a repository-wide analysis to handle cross-file dependencies and prevent keyword naming conflicts during the migration.

    While it handles the majority of keyword and locator conversions, the skill will flag complex scenarios like SSO flows, multi-tab handling, and specific file upload sequences for manual review to ensure architectural integrity.

    You receive the migration AI skill, a set of configuration templates for the Browser library, and a risk assessment report that highlights specific areas of your codebase requiring manual attention.

    New in Testing & Debugging