From aac5fe7e1ac6669888bc28a0904c45938690e3d6 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 23 Jul 2020 21:12:09 -0700 Subject: [PATCH] feat(expect): add types expectations into the page & browser context. --- client.py | 4 +- playwright/browser_context.py | 11 +++ playwright/event_context_manager.py | 62 ++++++++++++++ playwright/file_chooser.py | 3 +- playwright/page.py | 51 ++++++++++- playwright/sync.py | 127 +++++++++++++++++++++++++++- playwright/sync_base.py | 27 +++--- scripts/generate_sync_api.py | 26 +++++- tests/test_browsercontext.py | 27 +++--- tests/test_page.py | 20 ++--- 10 files changed, 310 insertions(+), 48 deletions(-) create mode 100644 playwright/event_context_manager.py diff --git a/client.py b/client.py index 30277ae5c..1fc7dc19b 100644 --- a/client.py +++ b/client.py @@ -22,9 +22,9 @@ def main() -> None: "