debug
Browse files- App/TTS/utils/Pi.py +2 -0
App/TTS/utils/Pi.py
CHANGED
|
@@ -152,6 +152,8 @@ class PiAIClient:
|
|
| 152 |
|
| 153 |
action_performed = False
|
| 154 |
for action in self.actions:
|
|
|
|
|
|
|
| 155 |
if await self.page.is_visible(action["selector"]):
|
| 156 |
logger.info(action["description"])
|
| 157 |
await action["handler"](action["selector"])
|
|
|
|
| 152 |
|
| 153 |
action_performed = False
|
| 154 |
for action in self.actions:
|
| 155 |
+
content = await self.page.content()
|
| 156 |
+
print(content)
|
| 157 |
if await self.page.is_visible(action["selector"]):
|
| 158 |
logger.info(action["description"])
|
| 159 |
await action["handler"](action["selector"])
|