Webium: Page Objects in Python
WebDriver API is designed to be abstract enough. That is why it usually needs exdending when it comes to using Selenium in practice. If using API out of the box it leads to code duplicates and finding solutions for similar goals every time since it privides only basic classes such as WebDriver or WebElement. Webium library helps you to extend Web Driver API to whatever deep UI object structure you need. You can describe basic UI elements (e.g. Link, Button, Input), construct more complex elements from smaller parts and eventually put them all into your Page Objects. Webium is free and open-source. In my talk I'll explain how to use it efficiently in case you use or are going to use Python + Selenium for writing tests.
Outline/Structure of the Talk
- Robot Framework Page Objects
- What is about Webium?
- BasePage - Usage Example
- UI controls - Extending WebElement
- UI controls - Usage Example
- Finds - Usage Example
- Logical Containers
- Dynamic Web Pages
- How to manage WebDriver instance
- Webium - what it is?
- What are advantages and alternatives to using Webium
- How to use Webium:
- How to describe Page Objects
- How to build custom UI controls
- How to use containers
- How to work with dynamic web pages
- What are settigns and how to customize Webium
QA, Test Automation or Software Engineers in Test
schedule Submitted 3 years ago
People who liked this proposal, also liked:
Andrei Solntsev - Selenide: Concise UI Tests in JavaAndrei SolntsevEffective and stable UI Tests with SelenideCodeborne
schedule 3 years agoSold Out!
Selenium WebDriver is a great tool, but it's not a testing library. It's a browser manipulation tool. There is a gap.
Selenide adds a possibility for easy and stable testing.
Why yet another Selenium wrapper?