2
    rf-seleniumlib-to-browser-lib

    rf-seleniumlib-to-browser-lib

    by Matthew King

    Migrate Robot Framework tests from SeleniumLibrary to Playwright-based Browser library with architectural integrity.

    Updated Jun 2026
    0 installs

    Free

    Included in download

    • Downloadable skill package
    • Works with Claude Code, Cursor
    • 2 permissions declared
    • Instant install

    Sample input

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

    Sample output

    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"]'.

    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.

    Use Cases

    • Convert Selenium-based Robot tests to Playwright-based Browser library.
    • Generate parallel '_browser.robot' files for incremental migration.
    • Detect and resolve keyword conflicts in shared resource files.
    • Refactor brittle XPaths into stable Playwright semantic locators.
    • Update test setups to support high-speed parallel execution.

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell
    Browser

    File Scopes

    rf-seleniumlib-to-browser-lib/**

    Compatible with SKILL.md-compatible agents (e.g., Claude Code, Cursor, Windsurf).

    Creator

    Building quality-driven AI solutions that streamline complex processes, improve decision-making, and deliver outcomes you can trust.

    Frequently Asked Questions

    More Premium Skills

    Free