From the course: Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Automatic mail checker

Automatic mail checker

Until now, we have learned about the essential concepts of web automation using Playwright. We have learned how to locate elements, perform all kinds of actions, handle events, and login to websites. Now is a good time to create an application with the same. We all use e-mail and most probably you check your inbox for new ones every day. It would be nice if we can check the same without opening the browser. Well, for our first project, we'll automate the same. We'll login into gmail by reusing our authentication state. Then we'll locate new unread emails in the inbox and report the same. It will be a fun project so let's get started.

Contents