#11 Playwright with Python | PyTest framework with Playwright Part 1

preview_player
Показать описание
#playwright
#pytest
#python
In this video we learned about below topics:
Playwright pytest installation-
pip install pytest-playwright
Auto generate pytest script with Inspector tool
Pytest naming conventions:
- python files: "test*"
- python functions/modules: "test*"
- python classes: Test*
Run first pytest test in headed and headless mode
pytest -s == this will run in headless mode
pytest --headed -s == this will run in headed mode (chromium browser will launch by default)

Рекомендации по теме
Комментарии
Автор

This course is really good. Giving this 8 out of 10 which is much better than all other Playwright courses out there! Could you please add the POM framework, just like how we use in Selenium with classes etc? Thanks from the UK!

Yoyo-gfoi
Автор

Buen video bro, me ayudaste demasiado

jaredgarcia
Автор

Hello Sir, Your Videos are great, but I am facing a problem on a particular site using codegen, actually while generating code using my actions, its very slow .like to click a box it will take minutes, every action happened we got the code...but running the code the filling and all didn't happen.why...I feel like the site is slow and how to deal with slow sites

sudipanpaul
Автор

voice is getting braked and there is a background noice, u should crct this on all the vdeos

leoprabhakar
Автор

Is it possible to run playwright in interactive mode? Like from a python shell and not as script

himanshupoddar