Playwright Python and Pytest for Web Automation Testing - Unleash the Power of Playwright and pytest for Web Automation Testing and API Testing
What you'll learn
- Write python scripts to launch browsers and automate tasks performed usually on websites
- Locate web elements using various methods like element role, inner text, form label or placeholder, CSS selectors, and XPath
- Perform actions on web elements like hover, click, fill form, select option, upload files, and use keyboard shortcuts
- Handle events like auto-waiting, custom waiting for an element to load, page navigations, requests, and downloads
- Log in to websites and authenticate yourself using your account like Google accounts
- Write a script to automate inbox mail checking for new emails and report the same
- Use pytest to write and run test cases and define custom pytest fixtures to share test state/data
- Utilize playwright tools like taking screenshots, recording videos, trace viewer, and auto code generator
- Apply best practices like web-first assertions, Page Object Models (POM), request interceptions and Parallelism
- Test API endpoints, define custom API request context, handle API responses, and mock API custom data
- Deploy automated tests using Github CI
- Practice Behaviour Driven Development (BDD) with playwright and python behave
PREVIEW THIS COURSE - GET COUPON CODE
Advertisement