diff --git a/playwright/_impl/_connection.py b/playwright/_impl/_connection.py index 7bdf999e9..fd0b6ac7d 100644 --- a/playwright/_impl/_connection.py +++ b/playwright/_impl/_connection.py @@ -327,7 +327,7 @@ def dispatch(self, msg: ParsedMessagePayload) -> None: else: object._channel.emit(method, self._replace_guids_with_channels(params)) except BaseException as exc: - print("Error occured in event listener", file=sys.stderr) + print("Error occurred in event listener", file=sys.stderr) traceback.print_exc() self._error = exc diff --git a/playwright/sync_api/_py37ThreadedChildWatcher.py b/playwright/sync_api/_py37ThreadedChildWatcher.py index 9fb57f33e..cd121267f 100644 --- a/playwright/sync_api/_py37ThreadedChildWatcher.py +++ b/playwright/sync_api/_py37ThreadedChildWatcher.py @@ -118,7 +118,7 @@ def add_child_handler(self, pid, callback, *args): def remove_child_handler(self, pid): # asyncio never calls remove_child_handler() !!! # The method is no-op but is implemented because - # abstract base classe requires it + # abstract base classes requires it return True def attach_loop(self, loop): diff --git a/tests/assets/download-blob.html b/tests/assets/download-blob.html index 02a08893b..3c4a3d813 100644 --- a/tests/assets/download-blob.html +++ b/tests/assets/download-blob.html @@ -24,6 +24,6 @@ download("Hello world", "example.txt"); } - Download + Download diff --git a/tests/async/test_defaultbrowsercontext.py b/tests/async/test_defaultbrowsercontext.py index e47c4f8b0..07c183a27 100644 --- a/tests/async/test_defaultbrowsercontext.py +++ b/tests/async/test_defaultbrowsercontext.py @@ -28,7 +28,7 @@ async def launch_persistent(tmpdir, launch_arguments, browser_type): async def _launch(**options): nonlocal context if context: - raise ValueError("can only launch one persitent context") + raise ValueError("can only launch one persistent context") context = await browser_type.launch_persistent_context( str(tmpdir), **{**launch_arguments, **options} ) diff --git a/tests/async/test_focus.py b/tests/async/test_focus.py index 33ec971d0..3728521c4 100644 --- a/tests/async/test_focus.py +++ b/tests/async/test_focus.py @@ -83,7 +83,7 @@ async def test_should_traverse_only_form_elements(page): await page.set_content( """ - + link """