- Home
- Skills
- Testing & Debugging
- rf-seleniumlib-to-browser-lib
Works with the AI Agents you already use
rf Seleniumlib to Browser Lib
SeleniumLibrary is the flakiest part of your Robot Framework suite. This skill swaps it for Browser library, structure intact
Free
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
This skill has been used 9 times.
Trust & safety
Security scan
Security scan passed 5 months ago
- Free with an Agensi account
Requires