2025-02-12 –, Advanced Workshop for Browser Library
Learn how to use Robot Framework Browser like a pro.
Extending Browser library, using it from Python, interacting with Playwright and many more.
Dive deep into the world of web automation with Tatu and René using the Browser library for Robot Framework. This state-of-the-art library, powered by Playwright, is designed for the modern web, ensuring speed, reliability, and visibility. In this workshop, participants will not only learn the basics of JavaScript but also how to extend the Browser library by creating custom keywords in both JavaScript and Python. We’ll also cover the advanced features and keywords of the Browser library, ensuring a comprehensive understanding of web automation.
Agenda:
- Browser Fundamentals
- Installation and binary structure (Tatu)
- Importing Settings (René)
- Logging (playwright Logs, Robot Loglevel, PW Trace) (Tatu)
- Browser, Context, Page (Catalog, Switching) (Tatu)
- Basic JS (René)
- Extending Browser
- JavaScript Plugin-API (René)
- Python Plugin-API (Tatu & René)
- AssertionEngine (Tatu)
- Using Browser from Python (René)
- Browser Advanced Keywords
- Waiting (Tatu)
- Promise To (René)
- Get Element States (René)
- Upload File (Selector or Dialog) (René)
- Selectors (CSS, nth, playwright possibilities) (René)
Extending, Advanced, Playwright, Browser, Plugin-API, API
Lessons Learned:- Understand the capabilities of the Browser library and its integration with Playwright.
- Learn to write custom keywords in JavaScript and Python to extend the Browser library.
- Deep dive into advanced keywords and features of the Browser library.
- Gain hands-on experience with real-world web automation scenarios.
Knowledge Level:
- Robot Framework: Advanced knowledge and experience required.
- Browser or SeleniumLibrary: Familiarity with Browser Library or extensive experience with SeleniumLibrary.
- Web Testing: Experience in web automation and a basic understanding of HTML.
- Python: Basic proficiency.
Preparation and Tech Requirements:
- Computer: Capable of running Robot Framework and Browser library with internet access.
- Software:
- Python >= 3.9
- NodeJS 18 or 20
- Robot Framework >= 7.1
- Robot Framework Browser >= 18.8
- Editor (IDE) for Python and JavaScript (e.g., VSCode)
- Optional: Robot Framework language support (Recommended: Robot Code plugin for VSCode)
- Note: For those unable to install software, GitPod, a cloud-based browser IDE, is an alternative.
- Accounts: A GitHub account.
- Test Case: We will provide a test case to verify your setup.
Intermediate RF User, Advanced RF User
Tatu Aalto is one the lead developers is Browser library and maintains also other projects in Robot Framework ecosystem. He has more than 20 years experience with testing and test automation. He currently working in Osuuspankki in team which builds test automation platform for development teams.
René Rohner is a Principal Consultant for Quality Management, Product Owner of the Value Stream Test Automation at imbus in Germany and Chairman of the board of Robot Framework Foundation.
He is member of the Core Team of Robot Framework Browser and developer of Robot Framework DataDriver. He is trainer and coach for Keyword-Driven Testing in multiple small and huge projects in Germany.