JetBrains Academy logo
PythonJetBrains Academy

Automated UI Testing with Selenium and Python

Automate your browser, test like a pro—from finding elements to building scalable test suites with the Page Object Model.

Skill levelAdvanced
Time to complete 17 days
Skill levelAdvanced
Time to complete 17 days

About this course

This hands-on course shows you how to automate UI testing in Python with Selenium WebDriver, the browser automation tool trusted by QA engineers and test automation teams worldwide.

You’ll begin with the essentials: launching a browser, selecting elements, and simulating user interactions. Then you’ll level up by building structured test automation using pytest, and apply the Page Object Model (POM), a best-practice design pattern in UI test automation.

Your result: a complete Python-based UI test suite and the skills to automate interfaces, catch regressions, and test smarter in real projects.

Code editor icon

This course runs directly in your JetBrains IDE

Learn more

Content

  1. introduction
  2. starting browser with selenium webdriver
  3. web page structure
  4. finding elements
  5. practice writing css selectors
  6. finding elements with Selenium Webdriver
  1. basic selenium methods
  2. working with files, dropdowns and js scripts
  3. working with windows
  4. waits and expected conditions
  1. web application testing and test frameworks
  2. pytest test runner
  3. using fixtures in pytest
  4. marking tests with pytest
  5. test configuration, parametrization, plugins
  1. what is page object model?
  2. writing test with page object model
  3. in conclusion

Learn with the tools developers use every day

Real-world development environmentZoom
Real-world development environmentZoom
Real-world development environmentZoom
Real-world development environmentZoom
  • Real-world development environment

    Gain practical experience with the tools and workflows you'll use in your career, minimizing the learning curve when transitioning to real-world projects.

  • Project-based learning journey

    Our plugin is built to help you finish real-world coding projects, which you can display in your code portfolio after completion.

  • Collaboration via Git

    Effortlessly track changes and collaborate on projects using Git, an essential tool for programmers in every field.

  • Focused learning

    Enjoy fewer distractions with assignments, code, debugging, and version control all in one window.

Student? Get JetBrains IDEs & hands-on courses — free for the full duration of your studies.

Apply using your school email, student ID, ISIC card, or another official document.

What do you need to start?

1

Install the Free JetBrains Toolbox App

The JetBrains Toolbox App 2.7+ makes setting up your course effortless. Already have a compatible IDE? It will launch it. If not, the app will install the right free IDE for your course.

Learn more about our licences here.

Download
2

Confirm the course launch

Click Launch course and then Allow to open the Toolbox App.

Select Always Allow to skip this confirmation in the future.

To return to the course later, find it in your IDE's recent projects.

Need more help? Check out our guide.

The JetBrains Toolbox App 2.7+ makes setting up your course effortless. Already have a compatible IDE? It will launch it. If not, the app will install the right free IDE for your course.

Learn more about our licences here.

Download

Click Launch course and then Allow to open the Toolbox App.

Select Always Allow to skip this confirmation in the future.

To return to the course later, find it in your IDE's recent projects.

Need more help? Check out our guide.

FAQ and troubleshooting

Yes, you will need the JetBrains Toolbox App and a JetBrains IDE.

But don't worry! Just click the Open course button and then select Allow in the resultant popup to install the JetBrains Toolbox App. We've taken care of all the necessary settings, and the app will handle the rest of the setup for you.

The JetBrains Toolbox App checks which IDE is compatible with your course and whether it is installed on your computer. If you have the necessary IDE installed, the app will open it. If not, JetBrains Toolbox will initiate the installation, prioritizing free community editions.

Yes, the JetBrains Toolbox App is essential even if you already have a JetBrains IDE. It automatically prepares your IDE for studying by installing the essential plugins and updating the IDE if necessary.

Please make sure your version of the JetBrains Toolbox App is 2.6 or newer. To update, open the app and click Update Toolbox App to 2.6.x., or download the latest version here.

Yes! It's 100% free and works with both the free and paid versions of JetBrains IDEs.

If you're a student, apply for the Student Pack to get full access to JetBrains IDEs for the duration of your studies. If not, check if you qualify for a free non-commercial license.

The configuration process may vary depending on the IDE you are using for the course. For detailed instructions, please refer to the Troubleshooting guide.
Report IssueLicense

Learn to code like a pro with JetBrains Academy

Explore catalog
Privacy & SecurityTerms of UseTrademarksLegalGenuine Tools
© 2000—2025 JetBrains s.r.o. All rights reserved. Developed with drive and IntelliJ IDEA

You'll take this course in your JetBrains IDE.
Just install JetBrains Toolbox 2.7+, and we'll handle the rest!