Skip to content

SeleniumBase is coming to SeleniumConf2023 #1669

Open
@mdmintz

Description

@mdmintz

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


Michael Mintz at SeleniumConf 2023


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:


SeleniumConf 2023

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions