#27 Playwright with Python | Maximize/Full Screen browser in Playwright - Part 1

preview_player
Показать описание
#playwright
#python
#pytest
Рекомендации по теме
Комментарии
Автор

Harvesting a lot, Hope to keep updating the course, thanks

zhengdiao
Автор

How to create a fixture that opens a browser with a maximized window if I use --browser command and device few if I use --device command
For example, if the test is run with a "--device = 'Iphone 12" parameter, the fixture should run the test in the appropriate device view, while if no device parameter is passed, the fixture should run the test with the maximized window. Additionally, the fixture should work for all types of Chromium, Firefox, and Webkit browsers.

yurapykish