Packt
Playwright Python and Pytest for Web Automation Testing

Vente anticipée ! Débloquez plus de 10 000 cours de Google, IBM et autres pour 50% de réduction. Économisez dès aujourd'hui.

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

Playwright Python and Pytest for Web Automation Testing

Inclus avec Coursera Plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

2 semaines à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

2 semaines à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • Set up and utilize Playwright for seamless browser automation.

  • Master Pytest for writing modular and data-driven tests.

  • Integrate CI/CD pipelines with Playwright and GitHub Actions.

  • Implement behavior-driven testing (BDD) for comprehensive test coverage.

Compétences que vous acquerrez

  • Catégorie : Test Automation
  • Catégorie : Test Tools
  • Catégorie : GitHub
  • Catégorie : Debugging
  • Catégorie : Scripting
  • Catégorie : Verification And Validation
  • Catégorie : Test Execution Engine
  • Catégorie : Authentications
  • Catégorie : Test Case
  • Catégorie : Cascading Style Sheets (CSS)
  • Catégorie : User Interface (UI)
  • Catégorie : Unit Testing
  • Catégorie : Behavior-Driven Development
  • Catégorie : Continuous Integration
  • Catégorie : Software Testing
  • Catégorie : Browser Compatibility
  • Catégorie : Event-Driven Programming

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

février 2025

Évaluations

22 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Il y a 21 modules dans ce cours

In this module, we will introduce the foundational aspects of Playwright, including installation, accessing its documentation, and performing basic browser operations. By the end, you'll have a running setup and an understanding of how Playwright scripts are structured.

Inclus

5 vidéos1 lecture1 devoir

In this module, we will dive into locators—the backbone of web element interactions in Playwright. From basic locators to CSS selectors and XPath, you’ll learn a variety of techniques to accurately identify and work with web elements.

Inclus

12 vidéos1 devoir

In this module, we will explore how to perform various actions in a browser using Playwright. From mouse actions to keyboard shortcuts, you'll learn to simulate user behaviors and interact with dynamic web components.

Inclus

7 vidéos1 devoir

In this module, we will focus on managing events and synchronization in Playwright. Learn to handle complex scenarios like auto-waiting, dialogs, and asynchronous operations to ensure robust test execution.

Inclus

8 vidéos1 devoir

In this module, we will tackle authentication workflows in Playwright. You’ll learn to handle sign-ins, save session states, and reuse them for seamless and secure automation across test cases.

Inclus

3 vidéos1 devoir

In this module, we will guide you through building an automated mail checker using Playwright. Learn how to locate emails, extract data, and process them directly from the terminal for robust email automation.

Inclus

6 vidéos1 devoir

In this module, we will integrate Pytest into Playwright testing workflows. Discover how to write, run, and manage tests efficiently while leveraging Pytest's powerful features like fixtures and state management.

Inclus

8 vidéos1 devoir

In this module, we will explore the pytest-playwright plugin, which bridges Pytest and Playwright for seamless testing. Learn how to configure the plugin, write tests, and utilize hooks to enhance your testing setup.

Inclus

5 vidéos1 devoir

In this module, we will delve into the various tools Playwright offers to enhance your automation testing experience. From debugging with trace viewers to capturing test evidence, you'll maximize your test efficiency.

Inclus

4 vidéos1 devoir

In this module, we will focus on web-first assertions in Playwright. Learn to validate element properties, states, and UI behaviors with precision, ensuring your tests cover all functional aspects.

Inclus

7 vidéos1 devoir

In this module, we will explore Playwright's capabilities in the UI Testing Playground. You'll tackle real-world challenges such as handling dynamic IDs, Ajax requests, and visibility checks, strengthening your UI testing skills.

Inclus

16 vidéos1 devoir

In this module, we will discuss Playwright fixtures and their role in organizing test code. Learn to customize browser contexts and leverage function and session-scoped fixtures for efficient testing.

Inclus

4 vidéos1 devoir

In this module, we will introduce the Page Object Model (POM) for UI testing. Discover how to organize test scripts, improve maintainability, and reduce duplication using POM concepts and Playwright.

Inclus

5 vidéos1 devoir

In this module, we will explore Playwright's capabilities in handling network events. Learn to manage requests, modify responses, and test network-dependent functionalities effectively.

Inclus

3 vidéos1 devoir

In this module, we will demonstrate how to use Playwright for API testing. From making API calls to mocking data, you’ll learn to integrate API tests seamlessly into your automation workflows.

Inclus

5 vidéos1 devoir

In this module, we will focus on optimizing Playwright tests. Learn techniques like request interception, JavaScript disabling, and parallel execution to enhance test efficiency and coverage.

Inclus

3 vidéos1 devoir

In this module, we will share valuable tips and tricks to improve your Playwright testing. From command-line arguments to debugging and device emulation, you’ll learn techniques to boost productivity.

Inclus

4 vidéos1 devoir

In this module, we will combine Playwright with GitHub API for testing and automation. Learn how to authenticate, make calls, and write tests for GitHub workflows effectively.

Inclus

6 vidéos1 devoir

In this module, we will explore how to integrate Playwright with continuous integration tools. From repository setup to automated testing, you’ll ensure seamless CI workflows for your projects.

Inclus

5 vidéos1 devoir

In this module, we will focus on data-driven testing with Playwright and Pytest. Discover how to handle diverse input scenarios efficiently using parameterization.

Inclus

3 vidéos1 devoir

In this module, we will explore Behavior-Driven Development (BDD) and its application with Playwright. Learn to write human-readable tests and enhance collaboration between teams using the Behave framework.

Inclus

5 vidéos2 devoirs

Obtenez un certificat professionnel

Ajoutez ce titre à votre profil LinkedIn, à votre curriculum vitae ou à votre CV. Partagez-le sur les médias sociaux et dans votre évaluation des performances.

Instructeur

Évaluations de l’enseignant
4.6 (5 évaluations)
Packt - Course Instructors
Packt
752 Cours132 223 apprenants

Offert par

Packt

En savoir plus sur Mobile and Web Development

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Coursera Plus

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions