clean up and bug fixes
This commit is contained in:
@@ -13,7 +13,7 @@ async def main():
|
||||
await alice.wait_for_selector("#chat_textarea", timeout=15000)
|
||||
await alice.wait_for_timeout(3000)
|
||||
await alice.screenshot(path=f"{OUT}/call_0_header.png")
|
||||
btn = alice.locator("#chat_header span.control.icon[title]").first
|
||||
btn = alice.locator("#chat_header span.control.icon", has=alice.locator("i", has_text="phone")).first
|
||||
print("call buttons:", await alice.locator("#chat_header span.control.icon[title]").count())
|
||||
await btn.click()
|
||||
await alice.wait_for_selector("#lobby_start:not(.disabled)", timeout=15000)
|
||||
|
||||
Reference in New Issue
Block a user