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.
pip install rpaframeworkVerified import paths — ran on the pinned version, not inferred.
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`.
Ensure your Python environment is version 3.9.1 or higher, and less than 3.14. Upgrade Python if necessary.
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.
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.