SeleniumBase
SeleniumBase copied to clipboard
SeleniumBase is coming to SeleniumConf2023
SeleniumBase is coming to SeleniumConf 2023
I'll be representing the Python ecosystem for Selenium, (hosting the only Python-dedicated session):
https://seleniumconf.com/agenda/#python-selenium-fundamentals-to-frameworks-with-seleniumbase

Python Selenium: Fundamentals to Frameworks (with SeleniumBase)
Michael Mintz iboss Wednesday, March 29, 2023 05:00 PM - 05:40 PM CST (Chicago Time)
Do you love Python? The WebDriver Ecosystem has you covered! With millions of downloads from the Python Package Index, (and growing), the Selenium Python bindings are a popular option for automation engineers worldwide.
This deep-dive session will kick-off with a demonstration of Python Selenium fundamentals. From there, we'll transition into improving on the fundamentals by using a test framework, SeleniumBase, which builds on top of pytest and other popular Python unit-testing frameworks.
Why use a test framework with Selenium? Selenium was designed to be a browser automation library... not a test framework, which can add useful features and improve on existing functionality.
Disadvantages of using raw Selenium without additional libraries or frameworks:
❌ The default timeout is 0: If an element isn't immediately ready to be interacted with, you'll get errors when trying to interact with those elements.
❌ The command statements can get a bit too long for performing a basic action. Eg: self.driver.find_element(By.CSS_SELECTOR, CSS_SELECTOR).click()
to click an element, which can be simplified.
❌ No HTML reports, dashboards, results, automatic screenshots, etc.
❌ No command-line options for changing default Selenium behavior or adding more functionality.
❌ No advanced tools included, such as recorders, test-runners, etc.
✅ A test framework (eg. SeleniumBase) can improve on that list!
Sometimes people choose to build their own frameworks: If that's you, you'll learn about how to do that more easily. Sometimes people choose to use an existing framework: If that's you, you'll learn about an existing one, (SeleniumBase), which may have all the features you're looking for.
Outline/Structure:
- Live demos and examples of Python automation scripts the whole way! Most examples can be found in the SeleniumBase examples folder: SeleniumBase/examples.
Things that will get covered:
- Python Selenium fundamentals.
- Generic ways for test frameworks to improve on the fundamentals.
- Using SeleniumBase as a framework to make Python Selenium testing easier.
- There will be multiple examples from SeleniumBase/examples/migration/raw_selenium, which demonstrate various ways to improve on raw Selenium without additional libraries.
Learning Outcome:
- You'll jump from learning the basics to mastering advancing Python automation techniques in under an hour.
Target Audience:
- Python enthusiasts
Prerequisites for Attendees:
- Basic knowledge of Python
Links:
-
https://confengine.com/conferences/selenium-conf-2022/proposal/16748/solving-wordle-with-python-and-selenium-and-then-running-that-in-github-actions
-
https://sessionize.com/michael-mintz/
-
https://dev.to/mintzworld/solving-the-wordle-game-using-python-and-selenium-1aei
-
https://seleniumbase.com/the-ultimate-pytest-debugging-guide-2021/

This is a great project and you are a great person for sharing it to the world. thank you!
Congrats man, you deserve it! I would love to watch your talk but I'm not from the states, will there be an alternative way to watch it?
@RomanJus Presentations will be recorded! Other speakers and conference organizers were discussing this:

The slides are now available here: https://seleniumbase.io/other/fundamentals.html#/
Here's a blog post about the trip: https://seleniumbase.com/seleniumbase-at-seleniumconf-2023/
Was an absolute pleasure to hear you speak and get to chat afterwards!
Just saw the presentation, It was awesome: https://www.youtube.com/watch?v=WjiTdflkGWE&t=2432s I will use it in my next project
If you need a framework based on seleniumbase, you can take a look at my framework and I hope you can give more feedback https://github.com/WaterLoran/RuoYiTest/blob/master/readme.md