Spaces:
Sleeping
Sleeping
Update app/core/service/playwright/playwright_context.py
Browse files
app/core/service/playwright/playwright_context.py
CHANGED
|
@@ -112,7 +112,7 @@ class PlaywrightInstance(AsyncMixin):
|
|
| 112 |
screenshot_locator = (
|
| 113 |
page.locator(screenshot_model.query_selector)
|
| 114 |
if screenshot_model.query_selector
|
| 115 |
-
else None
|
| 116 |
)
|
| 117 |
|
| 118 |
if screenshot_locator:
|
|
|
|
| 112 |
screenshot_locator = (
|
| 113 |
page.locator(screenshot_model.query_selector)
|
| 114 |
if screenshot_model.query_selector
|
| 115 |
+
else None
|
| 116 |
)
|
| 117 |
|
| 118 |
if screenshot_locator:
|