Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Selenium WebDriver with Python Crash Course
Rating: 4.4 out of 5(572 ratings)
20,212 students

Selenium WebDriver with Python Crash Course

Write Selenium WebDriver test automation code with Python scripting language, with examples and exercises
Created byAdmas Kinfu
Last updated 2/2023
English

What you'll learn

  • How to write Selenium code with Python
  • How to execute stand alone Selenium scripts
  • How to practice Selenium & Python by doing projects

Course content

2 sections14 lectures1h 55m total length
  • Introduction To The Course3:55

    Learn to write Selenium WebDriver scripts with Python, understand core concepts of Selenium and WebDriver, and gain hands-on practice ideas to hit the ground running.

  • Coupons and Intro to Full Course3:38

    Learn Python basics, then master Selenium WebDriver to build an integrated testing framework that covers front-end and back-end validation, including database and API checks, with end-to-end examples and coupon guidance.

  • E-commerce Site for Practice3:33

    Explore a practice e-commerce site for automation testing with Selenium and Python, and learn to set up a local storefront for frontend tests like add-to-cart with fake coupons.

  • Installing Toos - Python, IDE, Selenium8:54

    Install python and selenium, choose a free IDE such as PyCharm, and explore virtual environments to run multiple library versions, then install selenium with pip and verify with pip freeze.

  • HTML Refresher9:23

    Explore HTML structure essentials for Selenium tests, including tags, head and body, headers and inputs, and learn to locate and interact with elements using id and other locators.

  • Running Scripts And PATH8:14

    Learn to set up Selenium WebDriver, create a browser instance, and manage Chrome or Firefox drivers and the system path for reliable script execution.

  • Finding Elements and Actions19:44

    Explore how selenium webdriver finds elements using id, css selector, xpath, and other locators, then interact with them by clicking, typing with send keys, and retrieving element text.

  • WebDriver Waits1:56

    Learn how to handle the common element not found issue in Selenium WebDriver with Python by using implicit waits and explicit waits to cover Ajax loading delays.

  • Test - Verify PyPI Link In Top Menu6:00

    Develop a Selenium WebDriver test in Python that clicks the PyPI link from Python.org's top menu and verifies the correct page loads by comparing the page title.

  • Test - Verify Search Works7:24
  • Test - Verify Invalid Coupon Fails19:28

    Demonstrate by writing a Selenium Python test that adds an item to the cart, applies an invalid coupon, and asserts the correct error message.

  • Web Scraping - Get Product Prices11:24

    Scrape product prices from a homepage using Selenium, extracting each product's name and price to build a list of dictionaries for price comparison.

  • Practice Project Ideas10:41

    Practice project ideas for Selenium with Python, including automated test cases and web scraping, such as registration, login, cart totals, and sorting.

Requirements

  • Python basics is required before writing Selenium script.
  • Knowledge of software testing (manual) is helpful

Description

In this short crash course you will learn how to write Selenium WebDriver code using the Python programing language. You will learn the core functionalities of Selenium WebDriver and how to apply them to writing automated web browser tests.

Anyone looking to become QA Engineer or QA Automation engineer will benefit greatly from this course. If you are a manual tester and looking to transition to automation, or you are brand new to the field of software testing, you will find this course very beneficial.

Python is one of the most popular languages to write automated web tests, and Selenium WebDriver is the most popular tool for that.

Just like most programing languages writing Selenium scripts and automated tests is a matter of practice. This course will give you plenty of great ideas on how you can continue to practice even after completing the course.

You will setup everything you need to write tests on your machine whether it is a Windows or Mac machine.

You will practice writing tests on a real e-commerce site that you have created for you or you can create your own practice site using WordPress and WooCommerce following my instructions.

At the end of the course you will know what Selenium code looks like, how to write it, how to use it, and what you need to do to practice.

In addition best practices, tips, tricks are mentioned throughout the course.


Who this course is for:

  • Beginner QA Automation Engineers