Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Commit

Permalink
fix typo 'Connectoin' -> 'Connection'
Browse files Browse the repository at this point in the history
  • Loading branch information
balacij committed Dec 12, 2019
1 parent 56f8710 commit b97a39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyppeteer/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ async def close(self, options: Dict = None, **kwargs: Any) -> None:
options = merge_dict(options, kwargs)
conn = self._client._connection
if conn is None:
raise PageError('Protocol Error: Connectoin Closed. '
raise PageError('Protocol Error: Connection Closed. '
'Most likely the page has been closed.')
runBeforeUnload = bool(options.get('runBeforeUnload'))
if runBeforeUnload:
Expand Down

0 comments on commit b97a39b

Please sign in to comment.