(self)
| 23 | |
| 24 | class TestThread(threading.Thread): |
| 25 | def run(self) -> None: |
| 26 | with sync_playwright() as playwright: |
| 27 | browser = playwright[browser_name].launch(**launch_arguments) |
| 28 | # This should not throw ^^. |
| 29 | browser.new_page() |
| 30 | browser.close() |
| 31 | result.append("Success") |
| 32 | |
| 33 | test_thread = TestThread() |
| 34 | test_thread.start() |
no test coverage detected