{"id":5463,"library":"rpaframework","title":"RPA Framework","description":"RPA Framework (rpaframework) is an open-source collection of Python libraries and tools designed for Robotic Process Automation (RPA). It supports both direct Python scripting and integration with Robot Framework. As of version 31.2.0, it offers extensive capabilities for web, desktop, and API automation. The library maintains a rapid release cadence, with frequent updates and bug fixes.","status":"active","version":"31.2.0","language":"en","source_language":"en","source_url":"https://github.com/robocorp/rpaframework","tags":["RPA","automation","robotics","web automation","desktop automation","robotframework"],"install":[{"cmd":"pip install rpaframework","lang":"bash","label":"Install core library"}],"dependencies":[{"reason":"Requires Python version >3.9.1 and <3.14","package":"python","optional":false}],"imports":[{"symbol":"Selenium","correct":"from RPA.Browser.Selenium import Selenium"},{"symbol":"Windows","correct":"from RPA.Desktop.Windows import Windows"},{"symbol":"PDF","correct":"from RPA.PDF import PDF"},{"symbol":"HTTP","correct":"from RPA.HTTP import HTTP"},{"symbol":"Tables","correct":"from RPA.Tables import Tables"}],"quickstart":{"code":"from RPA.Browser.Selenium import Selenium\nimport logging\n\nlogging.basicConfig(level=logging.INFO)\nlogger = logging.getLogger(__name__)\n\ndef minimal_web_automation():\n    browser = None # Initialize browser to None for finally block\n    try:\n        browser = Selenium()\n        logger.info(\"Opening browser...\")\n        # Ensure a suitable web driver (e.g., chromedriver) is in your PATH\n        # or managed by rcc for this to work.\n        browser.open_available_browser(\"https://www.robocorp.com\")\n        logger.info(\"Browser opened to Robocorp.com\")\n        browser.maximize_browser_window()\n        title = browser.get_title()\n        logger.info(f\"Page title: {title}\")\n        assert \"Robocorp\" in title, \"Title does not contain 'Robocorp'\"\n        logger.info(\"Successfully verified page title.\")\n    except Exception as e:\n        logger.error(f\"An error occurred: {e}\")\n    finally:\n        if browser:\n            logger.info(\"Closing browser...\")\n            browser.close_browser()\n            logger.info(\"Browser closed.\")\n\nif __name__ == \"__main__\":\n    minimal_web_automation()","lang":"python","description":"This quickstart demonstrates a basic web automation task using `RPA.Browser.Selenium`. It opens a browser, navigates to Robocorp's website, verifies the page title, and then closes the browser. Note that this requires a compatible browser driver (e.g., Chrome or Edge driver) to be installed and accessible in your system's PATH, or managed by a tool like Robocorp's `rcc`."},"warnings":[{"fix":"Ensure your Python environment is version 3.9.1 or higher, and less than 3.14. Upgrade Python if necessary.","message":"Python 3.8 support was dropped in `rpaframework` version 30.0.0. Subsequent versions (including the current) require Python 3.9.1 or newer, but less than 3.14.","severity":"breaking","affected_versions":">30.0.0"},{"fix":"Users are now responsible for ensuring compatible browser drivers (e.g., chromedriver, msedgedriver) are installed system-wide and available in their PATH, or they should use Robocorp's `rcc` tool for environment and driver management.","message":"Browser driver management changed significantly in `rpaframework` version 27.0.0. The direct `browser_driver_install` command from `rpaframework-core` is no longer supported for managing browser drivers.","severity":"breaking","affected_versions":">27.0.0"},{"fix":"When using `rpaframework` directly in Python, translate Robot Framework keywords to their corresponding Python method calls. For example, `Open Browser` in Robot Framework becomes `browser.open_available_browser()` in Python. Refer to the Python API documentation for specific library methods.","message":"While `rpaframework` is a Python library, many official examples and tutorials primarily demonstrate its usage within Robot Framework (`.robot` files). This can lead to confusion when attempting direct Python scripting.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-13T00:00:00.000Z","next_check":"2026-07-12T00:00:00.000Z"}