#70 Playwright with Python | How to wait for loading Icon to disappear | Dynamic Control

preview_player
Показать описание
#python
#playwright
#pytest

In this video we learned about:
How to wait for load icon to disappear/vanish using Playwright
How to wait for checkbox to disappear using Playwright
How to handle dynamic control using Playwright

How to pause the debugger:
Method1:
1. Go to chrome dev tool
2. Go to console tab
3. Hit setTimeout(function(){debugger;}, 5000)
4. Now hover over element
5. After 5 sec debugger would get paused

Method 2:
1. Go to Sources tab in Chrome dev tool
2. Press f8
Рекомендации по теме
Комментарии
Автор

This is very helpful, thanks! But is that the best practice? I have some slow loading page, tried with load_state options, but couldn't do it....

milosjovanovic