SeleniumBase icon indicating copy to clipboard operation
SeleniumBase copied to clipboard

SeleniumBase is coming to SeleniumConf2023

Open mdmintz opened this issue 2 years ago • 10 comments

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:

  • 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/


SeleniumConf 2023

mdmintz avatar Jan 13 '23 17:01 mdmintz

This is a great project and you are a great person for sharing it to the world. thank you!

hololeo avatar Jan 21 '23 18:01 hololeo

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?

romek-codes avatar Feb 01 '23 13:02 romek-codes

@RomanJus Presentations will be recorded! Other speakers and conference organizers were discussing this:


Screenshot 2023-02-01 at 10 12 37 AM

mdmintz avatar Feb 01 '23 15:02 mdmintz

The presentation recording is now available on YouTube! https://www.youtube.com/watch?v=WjiTdflkGWE

(Watch the tutorial on YouTube)

mdmintz avatar Apr 04 '23 01:04 mdmintz

The slides are now available here: https://seleniumbase.io/other/fundamentals.html#/

mdmintz avatar Apr 09 '23 01:04 mdmintz

Here's a blog post about the trip: https://seleniumbase.com/seleniumbase-at-seleniumconf-2023/

mdmintz avatar Apr 24 '23 04:04 mdmintz

Was an absolute pleasure to hear you speak and get to chat afterwards!

elyamurza avatar May 01 '23 16:05 elyamurza

Just saw the presentation, It was awesome: https://www.youtube.com/watch?v=WjiTdflkGWE&t=2432s I will use it in my next project

fenchu avatar May 30 '23 11:05 fenchu

I added the recording to my personal YouTube channel in order to increase subscribers:

(Watch the tutorial on YouTube)

mdmintz avatar Oct 16 '23 20:10 mdmintz

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

WaterLoran avatar Apr 10 '24 10:04 WaterLoran