Forem

Cover image for Selenium Python Tutorial Series
Dilpreet Johal
Dilpreet Johal

Posted on • Edited on

11 3

Selenium Python Tutorial Series

In this tutorial series, we will be learning Web Automation using Python and SeleniumBase framework. We will be covering everything from setting up your project from scratch to all the way to integrate it with CI/CD.

🤖 What is SeleniumBase?

SeleniumBase is a web automation framework built with Python, pytest, and Webdriver. Since it’s an entire framework it comes with some great in-built features such as –

  • All the capabilities of pytest, unittest, and nose for test discovery and running
  • Has inbuilt smart wait methods to make your tests reliable
  • Includes great logging tools for dashboards, reports, and screenshots
  • Run tests in headless mode, or even run tests in parallel to optimize your run time
  • And many other great features….

So when you get started with writing your UI tests, your only job is to focus on writing tests, rest all the setup and configuration SeleniumBase takes to care of for us so that we don’t have to reinvent the wheel again every time.

💻 What we will be covering in this series?

  • SeleniumBase Introduction
  • Setup and Installation
  • Write tests using SeleniumBase and Python
  • Learning the APIs for SeleniumBase
  • Building a test automation framework
    • Implement the Page Object Model
    • Learning various wait methods
    • Setting up reporting and logging
  • Cross-browser and Parallel testing
  • CI/CD integration using Jenkins

There’s quite a bit we will be covering in this series. Hope you all are excited to begin your next learning journey with me. 🙌

As for the pre-requisite for this series, you will need to have some basic familiarity with Python or any programming language as well as basic familiarity with web automation would be helpful too, the rest we will cover in this series.


Check out the video below to learn everything we will be covering in this series –


👇 You can also check out my other tutorial series here –


📧 Subscribe to my mailing list to get access to more content like this
👍 Follow automationbro on Twitter for the latest updates

...

I love coffees! And, if this post helped you out and you would like to support my work, you can do that by clicking on the button below and buying me a cup of coffee -

Buy me a coffee

You can also support me by liking and sharing this content.

Thanks for reading!

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay