inbarw

Results 3 comments of inbarw

Ok, so here are two examples: 1. ThreadPoolExecutor: def verify_upload(page, entry_name): file_status = '//span[text()="ENTRY_NAME"]/following-sibling::p'.replace("ENTRY_NAME", entry_name) expect(page.locator(file_status)).not_to_have_text("Processing", timeout=100000) expect(page.locator(file_status)).to_have_text("Ready") print(entry_name + " verified") print(page.title) if __name__ == "__main__": with sync_playwright() as...

Thanks for the detailed answer! I tried with option 3 and it works good, but I have another question. I'm setting the browser and page in conftest. The fixture function...

Yes, I'm using pytest-playwright, but If I'm using option 2 I won't really be able to see what happens to all media that I'm uploading in realtime, until one will...