Spaces:
Sleeping
Sleeping
Commit
·
e512b54
1
Parent(s):
30a9445
fabric system v1 - fabric locator
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ async def siloshot_making(page, fabric_name):
|
|
75 |
|
76 |
|
77 |
# Click the choice button
|
78 |
-
await page.
|
79 |
|
80 |
# Click siloshot button
|
81 |
await page.locator('div.silo-shoot-widget').click(timeout=10000) # Timeout 10 sekund
|
|
|
75 |
|
76 |
|
77 |
# Click the choice button
|
78 |
+
await page.locator('button.choice-button-wrapper', has=page.locator(f'div:has-text("{fabric_name}")')).click()
|
79 |
|
80 |
# Click siloshot button
|
81 |
await page.locator('div.silo-shoot-widget').click(timeout=10000) # Timeout 10 sekund
|